org.jasig.cas.adaptors.ldap
Class FastBindLdapAuthenticationHandler

java.lang.Object
  extended by org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
      extended by org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
          extended by org.jasig.cas.adaptors.ldap.AbstractLdapUsernamePasswordAuthenticationHandler
              extended by org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler
All Implemented Interfaces:
AuthenticationHandler, NamedAuthenticationHandler, org.springframework.beans.factory.InitializingBean

public final class FastBindLdapAuthenticationHandler
extends AbstractLdapUsernamePasswordAuthenticationHandler

Implementation of an LDAP handler to do a "fast bind." A fast bind skips the normal two step binding process to determine validity by providing before hand the path to the uid.

Since:
3.0.3
Version:
$Revision: 47522 $ $Date: 2009-12-14 23:33:36 -0500 (Mon, 14 Dec 2009) $
Author:
Scott Battaglia

Field Summary
 
Fields inherited from class org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
log
 
Constructor Summary
FastBindLdapAuthenticationHandler()
           
 
Method Summary
protected  boolean authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials)
           
 
Methods inherited from class org.jasig.cas.adaptors.ldap.AbstractLdapUsernamePasswordAuthenticationHandler
afterPropertiesSet, getContextSource, getFilter, getLdapTemplate, setContextSource, setFilter, setIgnorePartialResultException
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
doAuthentication, getPasswordEncoder, getPrincipalNameTransformer, setClassToSupport, setPasswordEncoder, setPrincipalNameTransformer, setSupportSubClasses, supports
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
authenticate, getName, postAuthenticate, preAuthenticate, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastBindLdapAuthenticationHandler

public FastBindLdapAuthenticationHandler()
Method Detail

authenticateUsernamePasswordInternal

protected boolean authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials)
                                                throws AuthenticationException
Specified by:
authenticateUsernamePasswordInternal in class AbstractUsernamePasswordAuthenticationHandler
Throws:
AuthenticationException


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.