public class BindRequestHandler extends LdapRequestHandler<org.apache.directory.api.ldap.model.message.BindRequest>
BindRequests.
Implements server-side of RFC 2222, sections 4.2 and 4.3.ldapServer| Constructor and Description |
|---|
BindRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Deal with a received BindRequest
|
void |
handleSaslAuth(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Handle the SASL authentication.
|
void |
handleSimpleAuth(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest 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.api.ldap.model.message.BindRequest bindRequest) throws Exception
ldapSession - The associated SessionbindRequest - The BindRequest receivedException - If the authentication cannot be donepublic void handleSaslAuth(LdapSession ldapSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest) throws Exception
ldapSession - The associated SessionbindRequest - The BindRequest receivedException - If the authentication cannot be donepublic void handle(LdapSession ldapSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest) throws Exception
handle in class LdapRequestHandler<org.apache.directory.api.ldap.model.message.BindRequest>ldapSession - The current sessionbindRequest - The received BindRequestException - If the authentication cannot be handledCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.