public interface MechanismHandler
SaslServer for a session.SaslServer| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(LdapSession ldapSession)
Clean the Sasl properties when the use has been authenticated
|
SaslServer |
handleMechanism(LdapSession session,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Implementors will use the session and message to determine what kind of
SaslServer to create and what initialization parameters it will require. |
void |
init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
SaslServer handleMechanism(LdapSession session, org.apache.directory.api.ldap.model.message.BindRequest bindRequest) throws Exception
SaslServer to create and what initialization parameters it will require.session - bindRequest - SaslServer to use for the duration of the bound session.Exceptionvoid init(LdapSession ldapSession)
ldapSession - the Ldapsession instancevoid cleanup(LdapSession ldapSession)
ldapSession - the Ldapsession instanceCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.