|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.listener.InMemorySASLBindHandler
@Extensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public abstract class InMemorySASLBindHandler
This class defines an API that may be used to provide support for a specified SASL mechanism in the in-memory directory server.
Constructor Summary | |
---|---|
InMemorySASLBindHandler()
|
Method Summary | |
---|---|
abstract java.lang.String |
getSASLMechanismName()
Retrieves the name of the SASL mechanism supported by this bind handler. |
abstract BindResult |
processSASLBind(InMemoryRequestHandler handler,
int messageID,
DN bindDN,
ASN1OctetString credentials,
java.util.List<Control> controls)
Performs the appropriate processing for a SASL bind request with the provided information. |
java.lang.String |
toString()
Retrieves a string representation of this SASL bind handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InMemorySASLBindHandler()
Method Detail |
---|
public abstract java.lang.String getSASLMechanismName()
public abstract BindResult processSASLBind(InMemoryRequestHandler handler, int messageID, DN bindDN, ASN1OctetString credentials, java.util.List<Control> controls)
InMemoryRequestHandler.setAuthenticatedDN(DN)
on the provided
request handler instance to set the identity of the authenticated user.
InMemoryRequestHandler.getConnectionState()
method should be used
for this purpose.
handler
- The in-memory request handler that accepted the bind
request.messageID
- The message ID for the LDAP message that the client
used to send the request.bindDN
- The bind DN provided by the client.credentials
- The SASL credentials provided by the client, or
null
if there were none.controls
- The request controls provided by the client.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |