org.springframework.ldap.test
Class AttributeCheckContextMapper
java.lang.Object
org.springframework.ldap.test.AttributeCheckContextMapper
- All Implemented Interfaces:
- org.springframework.ldap.core.ContextMapper<org.springframework.ldap.core.DirContextAdapter>
public class AttributeCheckContextMapper
- extends Object
- implements org.springframework.ldap.core.ContextMapper<org.springframework.ldap.core.DirContextAdapter>
Dummy ContextMapper for testing purposes to check that the received
Attributes are the expected ones.
- Author:
- Mattias Hellborg Arthursson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeCheckContextMapper
public AttributeCheckContextMapper()
mapFromContext
public org.springframework.ldap.core.DirContextAdapter mapFromContext(Object ctx)
- Specified by:
mapFromContext in interface org.springframework.ldap.core.ContextMapper<org.springframework.ldap.core.DirContextAdapter>
setAbsentAttributes
public void setAbsentAttributes(String[] absentAttributes)
setExpectedAttributes
public void setExpectedAttributes(String[] expectedAttributes)
setExpectedValues
public void setExpectedValues(String[] expectedValues)