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 final 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.Builderself()Returns this builder.Methods inherited from class org.ldaptive.AbstractRequestMessage.AbstractBuilder
build, controls, responseTimeout
-
Constructor Details
-
Builder
private Builder()Default constructor.
-
-
Method Details
-
self
Description copied from class:AbstractRequestMessage.AbstractBuilderReturns this builder.- Specified by:
selfin 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
-