public class AttributeCheckContextMapper extends Object implements ContextMapper<DirContextAdapter>
Constructor and Description |
---|
AttributeCheckContextMapper() |
Modifier and Type | Method and Description |
---|---|
DirContextAdapter |
mapFromContext(Object ctx)
Map a single LDAP Context to an object.
|
void |
setAbsentAttributes(String[] absentAttributes) |
void |
setExpectedAttributes(String[] expectedAttributes) |
void |
setExpectedValues(String[] expectedValues) |
public DirContextAdapter mapFromContext(Object ctx)
ContextMapper
ctx
is the object from a single SearchResult
,
Binding
, or a lookup operation.mapFromContext
in interface ContextMapper<DirContextAdapter>
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
.public void setAbsentAttributes(String[] absentAttributes)
public void setExpectedAttributes(String[] expectedAttributes)
public void setExpectedValues(String[] expectedValues)