org.springframework.ldap.test
Class AttributeCheckAttributesMapper
java.lang.Object
org.springframework.ldap.test.AttributeCheckAttributesMapper
- All Implemented Interfaces:
- org.springframework.ldap.core.AttributesMapper<Object>
public class AttributeCheckAttributesMapper
- extends Object
- implements org.springframework.ldap.core.AttributesMapper<Object>
Dummy AttributesMapper 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 |
AttributeCheckAttributesMapper
public AttributeCheckAttributesMapper()
mapFromAttributes
public Object mapFromAttributes(Attributes attributes)
throws NamingException
- Specified by:
mapFromAttributes in interface org.springframework.ldap.core.AttributesMapper<Object>
- Throws:
NamingException
setAbsentAttributes
public void setAbsentAttributes(String[] absentAttributes)
setExpectedAttributes
public void setExpectedAttributes(String[] expectedAttributes)
setExpectedValues
public void setExpectedValues(String[] expectedValues)