Class RFC4519MemberDnRangeOffsetMapper
java.lang.Object
com.atlassian.crowd.directory.ldap.mapper.attribute.group.RFC4519MemberDnRangeOffsetMapper
- All Implemented Interfaces:
AttributeMapper
If the group has ranged memberships (Active Directory specific) this mapper will obtain
the offset - i.e. where to start the search for the second page of users.
Tested by: _testBrowseLargeGroup() in DnRangeTest
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Get the key to use when storing the attribute on an entity withAttributes
.Only requests the base attribute.getValues
(NameAttributesPair nameAttributesPair) Map the value of the key from a directory entry.
-
Field Details
-
ATTRIBUTE_KEY
- See Also:
-
-
Constructor Details
-
RFC4519MemberDnRangeOffsetMapper
-
-
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
Only requests the base attribute. Ranged attributes will be returned automatically if necessary.- Specified by:
getRequiredLdapAttributes
in interfaceAttributeMapper
- Returns:
- the LDAP attributes that should be requested, or
null
for all
-