org.kuali.rice.kim.ldap
Class PrincipalMapper

java.lang.Object
  extended by org.springframework.ldap.core.support.AbstractContextMapper
      extended by org.kuali.rice.kim.ldap.PrincipalMapper
All Implemented Interfaces:
org.springframework.ldap.core.ContextMapper

public class PrincipalMapper
extends org.springframework.ldap.core.support.AbstractContextMapper


Constructor Summary
PrincipalMapper()
           
 
Method Summary
 Object doMapFromContext(org.springframework.ldap.core.DirContextOperations context)
           
 Constants getConstants()
          Gets the value of constants
protected  Matcher getKimAttributeMatcher(String kimAttribute)
           
protected  Object getLdapValue(String kimAttribute)
           
 ParameterService getParameterService()
           
protected  boolean isPersonActive(org.springframework.ldap.core.DirContextOperations context)
          Checks the configured active principal affiliations, if one is found, returns true
 Principal.Builder mapFromContext(org.springframework.ldap.core.DirContextOperations context)
           
 void setConstants(Constants argConstants)
          Sets the value of constants
 void setParameterService(ParameterService service)
           
 
Methods inherited from class org.springframework.ldap.core.support.AbstractContextMapper
mapFromContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalMapper

public PrincipalMapper()
Method Detail

mapFromContext

public Principal.Builder mapFromContext(org.springframework.ldap.core.DirContextOperations context)

doMapFromContext

public Object doMapFromContext(org.springframework.ldap.core.DirContextOperations context)
Specified by:
doMapFromContext in class org.springframework.ldap.core.support.AbstractContextMapper

isPersonActive

protected boolean isPersonActive(org.springframework.ldap.core.DirContextOperations context)
Checks the configured active principal affiliations, if one is found, returns true

Parameters:
context -
Returns:
true if a matching active affiliation is found

getLdapValue

protected Object getLdapValue(String kimAttribute)

getKimAttributeMatcher

protected Matcher getKimAttributeMatcher(String kimAttribute)

getConstants

public final Constants getConstants()
Gets the value of constants

Returns:
the value of constants

setConstants

public final void setConstants(Constants argConstants)
Sets the value of constants

Parameters:
argConstants - Value to assign to this.constants

getParameterService

public ParameterService getParameterService()

setParameterService

public void setParameterService(ParameterService service)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.