public class BindHandler extends LdapRequestHandler<org.apache.directory.shared.ldap.message.internal.InternalBindRequest>
InternalBindRequests.
Implements server-side of RFC 2222, sections 4.2 and 4.3.ldapServer| Constructor and Description |
|---|
BindHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(LdapSession ldapSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Deal with a received BindRequest
|
void |
handleSaslAuth(LdapSession ldapSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Handle the SASL authentication.
|
void |
handleSimpleAuth(LdapSession ldapSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Handle the Simple authentication.
|
void |
setSaslMechanismHandlers(Map<String,MechanismHandler> handlers)
Set the mechanisms handler map.
|
getLdapServer, handleException, handleMessage, isConfidentialityRequirementSatisfied, rejectWithoutConfidentiality, setLdapServerpublic void setSaslMechanismHandlers(Map<String,MechanismHandler> handlers)
handlers - The associations btween a machanism and its handlerpublic void handleSimpleAuth(LdapSession ldapSession, org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest) throws Exception
session - The associated Sessionmessage - The BindRequest receivedException - If the authentication cannot be donepublic void handleSaslAuth(LdapSession ldapSession, org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest) throws Exception
session - The associated Sessionmessage - The BindRequest receivedException - If the authentication cannot be donepublic void handle(LdapSession ldapSession, org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest) throws Exception
handle in class LdapRequestHandler<org.apache.directory.shared.ldap.message.internal.InternalBindRequest>session - The current sessionbindRequest - The received BindRequestException - If the authentication cannot be handledCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.