public class ObjectSIDMapper extends Object implements AttributeMapper
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_KEY
Object SID attribute name.
|
| Constructor and Description |
|---|
ObjectSIDMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Get the key to use when storing the attribute on an entity
with
Attributes. |
Set<String> |
getRequiredLdapAttributes()
Returns the LDAP attributes that should be requested in a search where
AttributeMapper.getValues(DirContextAdapter) will
be called on the results. |
Set<String> |
getValues(org.springframework.ldap.core.DirContextAdapter ctx)
Map the value of the key from the directory context.
|
public static final String ATTRIBUTE_KEY
public String getKey()
AttributeMapperAttributes.getKey in interface AttributeMapperpublic Set<String> getValues(org.springframework.ldap.core.DirContextAdapter ctx) throws Exception
AttributeMappergetValues in interface AttributeMapperctx - directory context containing attributes.Exception - error retrieving value. The attribute will not be set.public Set<String> getRequiredLdapAttributes()
AttributeMapperAttributeMapper.getValues(DirContextAdapter) will
be called on the results. If an implementation returns null then all attributes will
be requested.getRequiredLdapAttributes in interface AttributeMappernull for allCopyright © 2018 Atlassian. All rights reserved.