org.jasig.cas.adaptors.ldap
Class AbstractLdapUsernamePasswordAuthenticationHandler
java.lang.Object
org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
org.jasig.cas.adaptors.ldap.AbstractLdapUsernamePasswordAuthenticationHandler
- All Implemented Interfaces:
- AuthenticationHandler, NamedAuthenticationHandler, org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- BindLdapAuthenticationHandler, FastBindLdapAuthenticationHandler
public abstract class AbstractLdapUsernamePasswordAuthenticationHandler
- extends AbstractUsernamePasswordAuthenticationHandler
- implements org.springframework.beans.factory.InitializingBean
Abstract class to handle common LDAP functionality.
- Since:
- 3.0.3
- Version:
- $Revision: 47522 $ $Date: 2009-12-14 23:33:36 -0500 (Mon, 14 Dec 2009) $
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLdapUsernamePasswordAuthenticationHandler
public AbstractLdapUsernamePasswordAuthenticationHandler()
setContextSource
public final void setContextSource(org.springframework.ldap.core.ContextSource contextSource)
- Method to set the datasource and generate a JdbcTemplate.
- Parameters:
contextSource - the datasource to use.
setIgnorePartialResultException
public final void setIgnorePartialResultException(boolean ignorePartialResultException)
getLdapTemplate
protected final org.springframework.ldap.core.LdapTemplate getLdapTemplate()
- Method to return the LdapTemplate
- Returns:
- a fully created LdapTemplate.
getContextSource
protected final org.springframework.ldap.core.ContextSource getContextSource()
getFilter
protected final java.lang.String getFilter()
afterPropertiesSet
public final void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
setFilter
public final void setFilter(java.lang.String filter)
- Parameters:
filter - The filter to set.
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.