Package org.ldaptive
Class SimpleBindRequest.Builder
java.lang.Object
org.ldaptive.AbstractRequestMessage.AbstractBuilder<SimpleBindRequest.Builder,SimpleBindRequest>
org.ldaptive.SimpleBindRequest.Builder
- Enclosing class:
SimpleBindRequest
public static class SimpleBindRequest.Builder
extends AbstractRequestMessage.AbstractBuilder<SimpleBindRequest.Builder,SimpleBindRequest>
Simple bind request builder.
-
Field Summary
Fields inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the bind DN.Sets the bind password.password
(Credential credential) Sets the bind password.protected SimpleBindRequest.Builder
self()
Returns this builder.Methods inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
build, controls
-
Constructor Details
-
Builder
protected Builder()Default constructor.
-
-
Method Details
-
self
Description copied from class:AbstractRequestMessage.AbstractBuilder
Returns this builder.- Specified by:
self
in classAbstractRequestMessage.AbstractBuilder<SimpleBindRequest.Builder,
SimpleBindRequest> - Returns:
- builder
-
dn
Sets the bind DN.- Parameters:
dn
- ldap DN- Returns:
- this builder
-
password
Sets the bind password.- Parameters:
password
- associated with the DN- Returns:
- this builder
-
password
Sets the bind password.- Parameters:
credential
- associated with the DN- Returns:
- this builder
-