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