org.apache.directory.server.ldap.handlers.bind
Class AbstractMechanismHandler

java.lang.Object
  extended by org.apache.directory.server.ldap.handlers.bind.AbstractMechanismHandler
All Implemented Interfaces:
MechanismHandler
Direct Known Subclasses:
CramMd5MechanismHandler, DigestMd5MechanismHandler, GssapiMechanismHandler, NtlmMechanismHandler, PlainMechanismHandler

public abstract class AbstractMechanismHandler
extends java.lang.Object
implements MechanismHandler

An abstract class for all the MechanismHandlers, implementing some common methods

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
AbstractMechanismHandler()
           
 
Method Summary
protected  void insertSaslFilter(LdapSession ldapSession)
          Inject a SaslFilter into the Filter chain, to deal with modified PDU sent when some mechanisms have been negotiated (DIGEST-MD5, GSSAPI, for instance)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.server.ldap.handlers.bind.MechanismHandler
cleanup, handleMechanism, init
 

Constructor Detail

AbstractMechanismHandler

public AbstractMechanismHandler()
Method Detail

insertSaslFilter

protected void insertSaslFilter(LdapSession ldapSession)
Inject a SaslFilter into the Filter chain, to deal with modified PDU sent when some mechanisms have been negotiated (DIGEST-MD5, GSSAPI, for instance)

Parameters:
ldapSession - the LdapSession instance


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.