Package org.springframework.ldap.core
Class LdapEntryIdentificationContextMapper
java.lang.Object
org.springframework.ldap.core.LdapEntryIdentificationContextMapper
- All Implemented Interfaces:
ContextMapper<LdapEntryIdentification>
public class LdapEntryIdentificationContextMapper
extends Object
implements ContextMapper<LdapEntryIdentification>
ContextMapper implementation that maps the found entries to the
LdapEntryIdentification of each respective entry.- Since:
- 1.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapFromContext(Object ctx) Map a single LDAP Context to an object.
-
Constructor Details
-
LdapEntryIdentificationContextMapper
public LdapEntryIdentificationContextMapper()
-
-
Method Details
-
mapFromContext
Description copied from interface:ContextMapperMap a single LDAP Context to an object. The supplied Objectctxis the object from a singleSearchResult,Binding, or a lookup operation.- Specified by:
mapFromContextin interfaceContextMapper<LdapEntryIdentification>- Parameters:
ctx- the context to map to an object. Typically this will be aDirContextAdapterinstance, unless a project specificDirObjectFactoryhas been specified on theContextSource.- Returns:
- an object built from the data in the context.
-