public interface BindClient
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of any system resources or security-sensitive information that
this bind client might be using.
|
boolean |
evaluateResult(BindResult result)
Evaluates the provided bind result and returns
true if
authentication has completed successfully, or false if additional
authentication steps are required (for example during a multi-stage SASL
authentication attempt). |
ConnectionSecurityLayer |
getConnectionSecurityLayer()
Returns a connection security layer, but only if this bind client has
negotiated integrity and/or privacy protection for the underlying
connection.
|
GenericBindRequest |
nextBindRequest()
Returns the next bind request which should be used for the next stage of
authentication.
|
void dispose()
boolean evaluateResult(BindResult result) throws LdapException
true
if
authentication has completed successfully, or false
if additional
authentication steps are required (for example during a multi-stage SASL
authentication attempt).
If additional steps are required then implementations must update their internal state based on information contained in the bind result (for example, using the server provided SASL credentials).
result
- The bind result to be evaluated.true
if authentication has completed successfully, of
false
if additional steps are required.LdapException
- If the evaluation failed for some reason and authentication
cannot continue.ConnectionSecurityLayer getConnectionSecurityLayer()
null
if none was
negotiated.GenericBindRequest nextBindRequest()
Copyright 2010-2017 ForgeRock AS.