com.atlassian.crowd.directory.ldap.mapper
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TombstoneContextMapper
public TombstoneContextMapper()
mapFromContext
public Tombstone mapFromContext(Object ctx)
- Returns an object representation of a deleted object.
- Specified by:
mapFromContext
in interface ContextMapperWithRequiredAttributes<Tombstone>
- Specified by:
mapFromContext
in interface org.springframework.ldap.core.ContextMapper
- Parameters:
ctx
-
- Returns:
- tombstone object with objectGUID and uSNChanged.
getRequiredLdapAttributes
public Set<String> getRequiredLdapAttributes()
- Description copied from interface:
ContextMapperWithRequiredAttributes
- Returns the LDAP attributes that should be requested in a search where
ContextMapperWithRequiredAttributes.mapFromContext(Object)
will
be called on the results. If an implementation returns null
then all attributes will
be requested.
- Specified by:
getRequiredLdapAttributes
in interface ContextMapperWithRequiredAttributes<Tombstone>
- Returns:
- the LDAP attributes that should be requested, or
null
for all
Copyright © 2013 Atlassian. All Rights Reserved.