Package | Description |
---|---|
org.apache.directory.ldap.client.api | |
org.apache.directory.ldap.client.api.message |
Modifier and Type | Method and Description |
---|---|
BindResponse |
LdapConnection.bind(BindRequest bindRequest)
Bind to the server using a BindRequest object.
|
BindFuture |
LdapConnection.bindAsync(BindRequest bindRequest)
Do an asynchronous bind, based on a BindRequest.
|
Modifier and Type | Method and Description |
---|---|
BindRequest |
BindRequest.setCredentials(byte[] credentials)
Sets the simple credentials associated with a simple authentication
attempt ignored if this request uses SASL authentication mechanisms.
|
BindRequest |
BindRequest.setCredentials(String credentials)
Sets the simple credentials associated with a simple authentication
attempt ignored if this request uses SASL authentication mechanisms.
|
BindRequest |
BindRequest.setName(String name)
Sets the distinguished name of the subject in this authentication
request.
|
BindRequest |
BindRequest.setSasl()
Sets the authentication mechanism to SASL
|
BindRequest |
BindRequest.setSaslMechanism(String saslMechanism)
Sets the SASL mechanism String associated with this BindRequest if the
bind operation is using SASL.
|
BindRequest |
BindRequest.setVersion(int version)
Sets whether or not the LDAP v3 or v2 protocol is used.
|
Copyright © 2009–2015 The Apache Software Foundation. All rights reserved.