|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.ldap.handlers.bind.SimpleMechanismHandler
public class SimpleMechanismHandler
A Dummy mechanism handler for Simple mechanism: not really used but needed for the mechanism map.
| Constructor Summary | |
|---|---|
SimpleMechanismHandler()
|
|
| Method Summary | |
|---|---|
void |
cleanup(LdapSession ldapSession)
Clean the Sasl properties when the use has been authenticated |
javax.security.sasl.SaslServer |
handleMechanism(LdapSession ldapSession,
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleMechanismHandler()
| Method Detail |
|---|
public javax.security.sasl.SaslServer handleMechanism(LdapSession ldapSession,
org.apache.directory.shared.ldap.message.BindRequest bindRequest)
throws java.lang.Exception
MechanismHandlerSaslServer to create and what initialization parameters it will require.
handleMechanism in interface MechanismHandlerSaslServer to use for the duration of the bound session.
java.lang.Exceptionpublic void init(LdapSession ldapSession)
init in interface MechanismHandlerldapSession - the Ldapsession instancepublic void cleanup(LdapSession ldapSession)
cleanup in interface MechanismHandlerldapSession - the Ldapsession instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||