public class LdapEntryIdentificationContextMapper extends Object implements ContextMapper<LdapEntryIdentification>
ContextMapper
implementation that maps the found entries to the
LdapEntryIdentification
of each respective entry.Constructor and Description |
---|
LdapEntryIdentificationContextMapper() |
Modifier and Type | Method and Description |
---|---|
LdapEntryIdentification |
mapFromContext(Object ctx)
Map a single LDAP Context to an object.
|
public LdapEntryIdentificationContextMapper()
public LdapEntryIdentification mapFromContext(Object ctx)
ContextMapper
ctx
is the object from a single SearchResult
,
Binding
, or a lookup operation.mapFromContext
in interface ContextMapper<LdapEntryIdentification>
ctx
- the context to map to an object. Typically this will be a
DirContextAdapter
instance, unless a project specific
DirObjectFactory
has been specified on the
ContextSource
.