|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MechanismHandler
An interface for retrieving a SaslServer for a session.
SaslServer| Method Summary | |
|---|---|
void |
cleanup(LdapSession ldapSession)
Clean the Sasl properties when the use has been authenticated |
javax.security.sasl.SaslServer |
handleMechanism(LdapSession session,
org.apache.directory.shared.ldap.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 |
| Method Detail |
|---|
javax.security.sasl.SaslServer handleMechanism(LdapSession session,
org.apache.directory.shared.ldap.message.BindRequest bindRequest)
throws java.lang.Exception
SaslServer to create and what initialization parameters it will require.
session - bindRequest -
SaslServer to use for the duration of the bound session.
java.lang.Exceptionvoid init(LdapSession ldapSession)
ldapSession - the Ldapsession instancevoid cleanup(LdapSession ldapSession)
ldapSession - the Ldapsession instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||