public class LdapClaimsHandler extends Object implements ClaimsHandler, RealmSupport
Constructor and Description |
---|
LdapClaimsHandler() |
public void setRealm(String realm)
public String getObjectClass()
public void setObjectClass(String objectClass)
public String getUserNameAttribute()
public void setUserNameAttribute(String userNameAttribute)
public void setLdapTemplate(org.springframework.ldap.core.LdapTemplate ldapTemplate)
public org.springframework.ldap.core.LdapTemplate getLdapTemplate()
public void setClaimsLdapAttributeMapping(Map<String,String> ldapClaimMapping)
public void setUserBaseDN(String userBaseDN)
public String getUserBaseDN()
public void setDelimiter(String delimiter)
public String getDelimiter()
public boolean isX500FilterEnabled()
public void setX500FilterEnabled(boolean x500FilterEnabled)
public List<URI> getSupportedClaimTypes()
getSupportedClaimTypes
in interface ClaimsHandler
public ProcessedClaimCollection retrieveClaimValues(ClaimCollection claims, ClaimsParameters parameters)
retrieveClaimValues
in interface ClaimsHandler
protected ProcessedClaim processClaim(Claim claim, Map<String,Attribute> ldapAttributes, Principal principal)
public List<String> getSupportedRealms()
getSupportedRealms
in interface RealmSupport
public String getHandlerRealm()
getHandlerRealm
in interface RealmSupport
Apache CXF