org.jasig.cas.adaptors.ldap
Class BindLdapAuthenticationHandler
java.lang.Object
org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
org.jasig.cas.adaptors.ldap.AbstractLdapUsernamePasswordAuthenticationHandler
org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler
- All Implemented Interfaces:
- AuthenticationHandler, NamedAuthenticationHandler, org.springframework.beans.factory.InitializingBean
public class BindLdapAuthenticationHandler
- extends AbstractLdapUsernamePasswordAuthenticationHandler
Handler to do LDAP bind.
- 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 |
BindLdapAuthenticationHandler
public BindLdapAuthenticationHandler()
authenticateUsernamePasswordInternal
protected final boolean authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials)
throws AuthenticationException
- Specified by:
authenticateUsernamePasswordInternal in class AbstractUsernamePasswordAuthenticationHandler
- Throws:
AuthenticationException
composeCompleteDnToCheck
protected java.lang.String composeCompleteDnToCheck(java.lang.String dn,
UsernamePasswordCredentials credentials)
isAllowMultipleAccounts
protected boolean isAllowMultipleAccounts()
- Method to return whether multiple accounts are allowed.
- Returns:
- true if multiple accounts are allowed, false otherwise.
getMaxNumberResults
protected int getMaxNumberResults()
- Method to return the max number of results allowed.
- Returns:
- the maximum number of results.
getScope
protected int getScope()
- Method to return the scope.
- Returns:
- the scope
getSearchBase
protected java.lang.String getSearchBase()
- Method to return the search base.
- Returns:
- the search base.
getTimeout
protected int getTimeout()
- Method to return the timeout.
- Returns:
- the timeout.
setScope
public final void setScope(int scope)
setAllowMultipleAccounts
public void setAllowMultipleAccounts(boolean allowMultipleAccounts)
- Parameters:
allowMultipleAccounts - The allowMultipleAccounts to set.
setMaxNumberResults
public final void setMaxNumberResults(int maxNumberResults)
- Parameters:
maxNumberResults - The maxNumberResults to set.
setSearchBase
public final void setSearchBase(java.lang.String searchBase)
- Parameters:
searchBase - The searchBase to set.
setTimeout
public final void setTimeout(int timeout)
- Parameters:
timeout - The timeout to set.
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.