public class LdapGroupAttributesMapper extends LdapAttributesMapper<ExternalGroupVO>
| Constructor and Description |
|---|
LdapGroupAttributesMapper(Map<String,String> mapping,
String externalSystemId,
boolean binaryGroupId) |
LdapGroupAttributesMapper(String mapping,
String externalSystemId,
boolean binaryGroupId) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getBinaryLdapAttributeName()
Returns an array of names of mapped LDAP attributes that are binary.
|
protected Set<String> |
getRequiredAttributeNames()
Returns the subset with required Communote attribute names the mapper can map.
|
Set<String> |
getSupportedAttributeNames()
Returns the Kenmei attribute names the mapper can map.
|
ExternalGroupVO |
mapAttributes(String dn,
Attributes attributes)
Constructs an ExernalGroupVO from the given attributes.
|
getAttributeValue, getAttributeValueForKenmeiAttributeName, getLdapAttributName, getMappedLdapAttributeNames, getMappingAsString, init, isKenmeiAttributeMappedpublic LdapGroupAttributesMapper(Map<String,String> mapping, String externalSystemId, boolean binaryGroupId) throws LdapAttributeMappingException
mapping - The mapping.externalSystemId - Id of the external system.binaryGroupId - True, if the group id is binary.LdapAttributeMappingException - Exception.LdapAttributesMapper.LdapAttributesMapper(Map)public LdapGroupAttributesMapper(String mapping, String externalSystemId, boolean binaryGroupId) throws LdapAttributeMappingException
mapping - The mapping.externalSystemId - Id of the external system.binaryGroupId - True, if the group id is binary.LdapAttributeMappingException - Exception.LdapAttributesMapper.LdapAttributesMapper(String)public String[] getBinaryLdapAttributeName()
getBinaryLdapAttributeName in class LdapAttributesMapper<ExternalGroupVO>protected Set<String> getRequiredAttributeNames()
LdapAttributesMappergetRequiredAttributeNames in class LdapAttributesMapper<ExternalGroupVO>public Set<String> getSupportedAttributeNames()
LdapAttributesMappergetSupportedAttributeNames in class LdapAttributesMapper<ExternalGroupVO>public ExternalGroupVO mapAttributes(String dn, Attributes attributes) throws LdapAttributeMappingException
mapAttributes in class LdapAttributesMapper<ExternalGroupVO>dn - the DN of the element providing the attributesattributes - The ldap attributes.LdapAttributeMappingException - Exception.Copyright © 2019 Communote team. All rights reserved.