org.kuali.rice.kim.ldap
Class PrincipalMapper
java.lang.Object
org.springframework.ldap.core.support.AbstractContextMapper
org.kuali.rice.kim.ldap.PrincipalMapper
- All Implemented Interfaces:
- org.springframework.ldap.core.ContextMapper
public class PrincipalMapper
- extends org.springframework.ldap.core.support.AbstractContextMapper
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 |
PrincipalMapper
public PrincipalMapper()
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.