com.atlassian.crowd.integration.directory.connector.spring
Class GenericAttributesMapper
java.lang.Object
com.atlassian.crowd.integration.directory.connector.spring.GenericAttributesMapper
- Direct Known Subclasses:
- RemoteGroupAttributesMapper, RemotePrincipalAttributesMapper, RemoteRoleAttributesMapper
public abstract class GenericAttributesMapper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericAttributesMapper
protected GenericAttributesMapper()
GenericAttributesMapper
public GenericAttributesMapper(LdapTemplate ldapTemplate,
LDAPPropertiesMapper ldapPropertiesMapper)
populateAttributes
protected Map populateAttributes(Attributes ldapAttributes)
throws NamingException
- Translates LDAP attributes into a map of
values
.
- Parameters:
ldapAttributes
- LDAP attributes.
- Returns:
values
.
- Throws:
NamingException
- An LDAP name exception occured.
populateAttribute
protected List populateAttribute(Attribute ldapAttribute)
throws NamingException
- Translates LDAP attributes into a list of Strings.
Any attributes with invalid XML characters are filtered out. [CWD-109]
- Parameters:
ldapAttribute
- LDAP attribute.
- Returns:
- List of Strings.
- Throws:
NamingException
- An LDAP name exception occured.
processMembers
protected Set processMembers(Attribute memberDNs)
throws NamingException
- Processes the members of an LDAP container object.
- Parameters:
memberDNs
- Container object member DNs.
- Returns:
- The populates
principals
.
- Throws:
NamingException
- An LDAP name exception occured.
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.