Class TombstoneContextMapper
java.lang.Object
com.atlassian.crowd.directory.ldap.mapper.TombstoneContextMapper
- All Implemented Interfaces:
ContextMapperWithRequiredAttributes<Tombstone>,org.springframework.ldap.core.ContextMapper
public class TombstoneContextMapper
extends Object
implements ContextMapperWithRequiredAttributes<Tombstone>
Specific to Active Directory to map deleted objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the LDAP attributes that should be requested in a search whereContextMapperWithRequiredAttributes.mapFromContext(Object)will be called on the results.mapFromContext(Object ctx) Returns an object representation of a deleted object.
-
Constructor Details
-
TombstoneContextMapper
public TombstoneContextMapper()
-
-
Method Details
-
mapFromContext
Returns an object representation of a deleted object.- Specified by:
mapFromContextin interfaceorg.springframework.ldap.core.ContextMapper- Specified by:
mapFromContextin interfaceContextMapperWithRequiredAttributes<Tombstone>- Returns:
- tombstone object with objectGUID and uSNChanged.
-
getRequiredLdapAttributes
Description copied from interface:ContextMapperWithRequiredAttributesReturns the LDAP attributes that should be requested in a search whereContextMapperWithRequiredAttributes.mapFromContext(Object)will be called on the results. If an implementation returnsnullthen all attributes will be requested.- Specified by:
getRequiredLdapAttributesin interfaceContextMapperWithRequiredAttributes<Tombstone>- Returns:
- the LDAP attributes that should be requested, or
nullfor all
-