org.jasig.cas.authentication.principal
Class AbstractLdapPersonDirectoryCredentialsToPrincipalResolver

java.lang.Object
  extended by org.jasig.cas.authentication.principal.AbstractPersonDirectoryCredentialsToPrincipalResolver
      extended by 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

Field Summary
 
Fields inherited from class org.jasig.cas.authentication.principal.AbstractPersonDirectoryCredentialsToPrincipalResolver
log
 
Constructor Summary
AbstractLdapPersonDirectoryCredentialsToPrincipalResolver()
           
 
Method Summary
protected  java.lang.String[] getAttributeIds()
           
protected  java.lang.String getFilter()
           
protected  org.springframework.ldap.core.LdapTemplate getLdapTemplate()
           
protected  java.lang.String getSearchBase()
           
protected  javax.naming.directory.SearchControls getSearchControls()
           
protected  int getTimeout()
           
 void setContextSource(org.springframework.ldap.core.support.LdapContextSource contextSource)
          Method to set the datasource and generate a LDAPTemplate.
 void setFilter(java.lang.String filter)
           
 void setPrincipalAttributeName(java.lang.String principalAttributeName)
           
 void setScope(int scope)
           
 void setSearchBase(java.lang.String searchBase)
           
 void setTimeout(int timeout)
           
 
Methods inherited from class org.jasig.cas.authentication.principal.AbstractPersonDirectoryCredentialsToPrincipalResolver
extractPrincipalId, resolvePrincipal, setAttributeRepository, setReturnNullIfNoAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jasig.cas.authentication.principal.CredentialsToPrincipalResolver
supports
 

Constructor Detail

AbstractLdapPersonDirectoryCredentialsToPrincipalResolver

public AbstractLdapPersonDirectoryCredentialsToPrincipalResolver()
Method Detail

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.