Class USNChangedMapper
java.lang.Object
com.atlassian.crowd.directory.ldap.mapper.attribute.USNChangedMapper
- All Implemented Interfaces:
AttributeMapper
Maps the uSNChanged on an entity.
This concept only applies to Active Directory.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Get the key to use when storing the attribute on an entity withAttributes
.Returns the LDAP attributes that should be requested in a search whereAttributeMapper.getValues(NameAttributesPair)
will be called on the results.getValues
(NameAttributesPair nameAttributesPair) Map the value of the key from a directory entry.
-
Field Details
-
ATTRIBUTE_KEY
USN Changed attribute name.- See Also:
-
-
Constructor Details
-
USNChangedMapper
public USNChangedMapper()
-
-
Method Details
-
getKey
Description copied from interface:AttributeMapper
Get the key to use when storing the attribute on an entity withAttributes
.- Specified by:
getKey
in interfaceAttributeMapper
- Returns:
- non-null key.
-
getValues
Description copied from interface:AttributeMapper
Map the value of the key from a directory entry.- Specified by:
getValues
in interfaceAttributeMapper
- Parameters:
nameAttributesPair
- directory entry containing attributes.- Returns:
- the set of attribute values associated with the key. If no values are present an empty set will be returned
- Throws:
NamingException
-
getRequiredLdapAttributes
Description copied from interface:AttributeMapper
Returns the LDAP attributes that should be requested in a search whereAttributeMapper.getValues(NameAttributesPair)
will be called on the results. If an implementation returnsnull
then all attributes will be requested.- Specified by:
getRequiredLdapAttributes
in interfaceAttributeMapper
- Returns:
- the LDAP attributes that should be requested, or
null
for all
-