Uses of Class
org.forgerock.opendj.ldap.messages.BindRequest
Package
Description
Contains the Service Discovery Mechanisms and APIs.
Classes and interfaces providing I/O functionality.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for core LDAP requests/responses.
-
Uses of BindRequest in org.forgerock.opendj.discovery
Modifier and TypeFieldDescriptionstatic final Option<BindRequest>
ReplicationServiceDiscoveryMechanism.BIND_REQUEST
The bind request to use to perform service discovery when connecting to servers. -
Uses of BindRequest in org.forgerock.opendj.io
Modifier and TypeMethodDescriptionvoid
LdapWriter.writeBindRequest
(int messageID, BindRequest request) Writes the provided bind request. -
Uses of BindRequest in org.forgerock.opendj.ldap
Modifier and TypeFieldDescriptionstatic final Option<BindRequest>
LdapConnectionFactory.AUTHN_BIND_REQUEST
Configures the connection factory to return pre-authenticated connections using the specifiedBindRequest
.static final Option<Supplier<BindRequest>>
LdapConnectionFactory.AUTHN_BIND_REQUEST_FACTORY
Configures the connection factory to return pre-authenticated connections usingBindRequest
provided by the specifiedSupplier
.static final Option<BindRequest>
LdapClients.LDAP_CLIENT_AUTHN_BIND_REQUEST
Configures theBindRequest
used for pre-authenticated connection or availability check made by load-balancers.static final Option<Supplier<BindRequest>>
LdapClients.LDAP_CLIENT_AUTHN_BIND_REQUEST_FACTORY
Configures theBindRequest
supplier used for pre-authenticated connection or availability checks made by load-balancersModifier and TypeMethodDescriptionAbstractAsynchronousConnection.bind
(BindRequest request) AbstractConnectionWrapper.bind
(BindRequest request) Authenticates to the Directory Server using the provided bind request.Connection.bind
(BindRequest request) Authenticates to the Directory Server using the provided bind request.default io.reactivex.rxjava3.core.Single<BindResult>
LdapClientSocket.bind
(BindRequest request) Authenticates to the Directory Server using the provided bind request.AbstractConnection.bindAsync
(BindRequest request) AbstractConnectionWrapper.bindAsync
(BindRequest request) Asynchronously authenticates to the Directory Server using the provided bind request.AbstractConnectionWrapper.bindAsync
(BindRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously authenticates to the Directory Server using the provided bind request.AbstractSynchronousConnection.bindAsync
(BindRequest request, IntermediateResponseHandler intermediateResponseHandler) Connection.bindAsync
(BindRequest request) Asynchronously authenticates to the Directory Server using the provided bind request.Connection.bindAsync
(BindRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously authenticates to the Directory Server using the provided bind request.Modifier and TypeMethodDescriptionstatic LdapClient
LdapClients.newLdapService
(Collection<String> bootstrapReplicationServerAdminEndpoints, Supplier<BindRequest> bindRequestSupplier, Options loadBalancingOptions, Options serviceDiscoveryOptions) Creates a new LDAP load-balancer able to discover all the replicas in a directory service, load balance across them all, and reconfigure itself according to changes affecting the availability of the replicas. -
Uses of BindRequest in org.forgerock.opendj.ldap.messages
Modifier and TypeMethodDescriptionstatic BindRequest
Requests.copyOfBindRequest
(BindRequest request) Creates a new bind request that is an exact copy of the provided request.BindRequest.evaluateSaslChallenge
(byte[] serverSaslCredentials) Evaluates the provided SASL credentials (challenge) returned by the server and creates the next SASL bind request that should be sent to the server in order to continue or complete the SASL authentication sequence.static BindRequest
Requests.newAnonymousBindRequest()
Creates a new anonymous bind request initialized with an empty distinguished name, SIMPLE authentication type, and an empty password.static BindRequest
Requests.newAnonymousSaslBindRequest
(String traceString) Creates a new anonymous SASL bind request as defined in RFC 4505.static BindRequest
Requests.newBindRequest()
Creates a new bind request initialized with an empty distinguished name, SIMPLE authentication type, and an empty password.static BindRequest
Requests.newCramMd5SaslBindRequest
(String authenticationId, char[] password) Creates a new CRAM-MD5 SASL bind request as defined in draft-ietf-sasl-crammd5.static BindRequest
Requests.newDigestMd5SaslBindRequest
(String digestUri, String authenticationId, char[] password, String authorizationId, String realm, Map<String, ?> properties) Creates a new DIGEST-MD5 SASL bind request as defined in RFC 2831.static BindRequest
Requests.newExternalSaslBindRequest
(String authorizationId) Creates a new External SASL bind request as defined in RFC 4422.static BindRequest
Requests.newGssapiSaslBindRequest
(String serverName, Subject subject, String authorizationId, Map<String, ?> properties) Creates a new GSSAPI SASL bind request as defined in RFC 2831.static BindRequest
Requests.newPlainSaslBindRequest
(String authenticationId, char[] password, String authorizationId) Creates a new Plain SASL bind request as defined in RFC 4616.static BindRequest
Requests.newSaslBindRequest
(SaslClient saslClient) Creates a new SASL bind request configured to use the providedSaslClient
.static BindRequest
Requests.newScramSaslBindRequest
(ScramMechanism scramMechanism, String authenticationId, char[] password, String authorizationId) Creates a new SCRAM SASL bind request as defined in RFC 5802.static BindRequest
Requests.newSimpleBindRequest
(String name, byte[] password) Creates a new simple bind request having the provided name and password suitable for name/password authentication.static BindRequest
Requests.newSimpleBindRequest
(String name, char[] password) Creates a new simple bind request having the provided name and password suitable for name/password authentication.static BindRequest
Requests.newSimpleBindRequest
(String name, String password) Creates a new simple bind request having the provided name and password suitable for name/password authentication.static BindRequest
Requests.newSimpleBindRequest
(Dn name, byte[] password) Creates a new simple bind request having the provided name and password suitable for name/password authentication.static BindRequest
Requests.newSimpleBindRequest
(Dn name, char[] password) Creates a new simple bind request having the provided name and password suitable for name/password authentication.static BindRequest
Requests.newSimpleBindRequest
(Dn name, String password) Creates a new simple bind request having the provided name and password suitable for name/password authentication.BindRequest.setAuthenticationTypeAndValue
(byte type, byte[] value) Sets the authentication type and value.Sets the name of the Directory object that the client wishes to bind as.BindRequest.setSaslMechanismAndCredentials
(String mechanism, byte[] credentials) Sets the authentication type toAUTHENTICATION_TYPE_SASL
, the SASL mechanism name, and the optional SASL credentials.BindRequest.setSaslMechanismAndCredentials
(SaslClient saslClient) Configures this bind request for SASL authentication using the providedSaslClient
.BindRequest.setSimplePassword
(byte[] password) Sets the authentication type toAUTHENTICATION_TYPE_SIMPLE
and the authentication value to a copy of the provided password.BindRequest.setVersion
(int version) Sets the version of the protocol to be used at the LDAP message layer.Modifier and TypeMethodDescriptionstatic BindRequest
Requests.copyOfBindRequest
(BindRequest request) Creates a new bind request that is an exact copy of the provided request.AbstractRequestVisitor.visitRequest
(P p, BindRequest request) RequestVisitor.visitRequest
(P p, BindRequest request) Visits anBind
request.