org.jasig.cas.authentication.principal
Class AbstractLdapPersonDirectoryCredentialsToPrincipalResolver
java.lang.Object
org.jasig.cas.authentication.principal.AbstractPersonDirectoryCredentialsToPrincipalResolver
org.jasig.cas.authentication.principal.AbstractLdapPersonDirectoryCredentialsToPrincipalResolver
- All Implemented Interfaces:
- CredentialsToPrincipalResolver
- Direct Known Subclasses:
- CredentialsToLDAPAttributePrincipalResolver, RemoteIpLookupCredentialsToPrincipalResolver
public abstract class AbstractLdapPersonDirectoryCredentialsToPrincipalResolver
- extends AbstractPersonDirectoryCredentialsToPrincipalResolver
- Since:
- 3.2.1
- Version:
- $Revision: 1.1 $ $Date: 2005/08/19 18:27:17 $
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLdapPersonDirectoryCredentialsToPrincipalResolver
public AbstractLdapPersonDirectoryCredentialsToPrincipalResolver()
getSearchControls
protected final javax.naming.directory.SearchControls getSearchControls()
setContextSource
public final void setContextSource(org.springframework.ldap.core.support.LdapContextSource contextSource)
- Method to set the datasource and generate a LDAPTemplate.
- Parameters:
contextSource - the datasource to use.
setFilter
public final void setFilter(java.lang.String filter)
- Parameters:
filter - The LDAP filter to set.
setPrincipalAttributeName
public final void setPrincipalAttributeName(java.lang.String principalAttributeName)
- Parameters:
principalAttributeName - The principalAttributeName to set.
setScope
public final void setScope(int scope)
- Parameters:
scope - The scope 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.
getFilter
protected final java.lang.String getFilter()
getAttributeIds
protected final java.lang.String[] getAttributeIds()
getSearchBase
protected final java.lang.String getSearchBase()
getTimeout
protected final int getTimeout()
getLdapTemplate
protected final org.springframework.ldap.core.LdapTemplate getLdapTemplate()
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.