org.apache.directory.server.ldap.handlers.bind
Interface MechanismHandler
- All Known Implementing Classes:
- CramMd5MechanismHandler, DigestMd5MechanismHandler, GssapiMechanismHandler, NtlmMechanismHandler, SimpleMechanismHandler
public interface MechanismHandler
An interface for retrieving a SaslServer for a session.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
- See Also:
SaslServer
|
Field Summary |
static java.lang.String |
SASL_CONTEXT
A key constant ("saslContext") for storing the SASL context in the session. |
|
Method Summary |
javax.security.sasl.SaslServer |
handleMechanism(org.apache.mina.common.IoSession 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. |
SASL_CONTEXT
static final java.lang.String SASL_CONTEXT
- A key constant ("saslContext") for storing the SASL context in the session.
- See Also:
- Constant Field Values
handleMechanism
javax.security.sasl.SaslServer handleMechanism(org.apache.mina.common.IoSession session,
org.apache.directory.shared.ldap.message.BindRequest bindRequest)
throws java.lang.Exception
- Implementors will use the session and message to determine what kind of
SaslServer to create and what initialization parameters it will require.
- Parameters:
session - bindRequest -
- Returns:
- The
SaslServer to use for the duration of the bound session.
- Throws:
java.lang.Exception
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.