Package 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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapFromAttributes(Attributes attributes) voidsetAbsentAttributes(String[] absentAttributes) voidsetExpectedAttributes(String[] expectedAttributes) voidsetExpectedValues(String[] expectedValues)
-
Constructor Details
-
AttributeCheckAttributesMapper
public AttributeCheckAttributesMapper()
-
-
Method Details
-
mapFromAttributes
- Specified by:
mapFromAttributesin interfaceorg.springframework.ldap.core.AttributesMapper<Object>- Throws:
NamingException
-
setAbsentAttributes
-
setExpectedAttributes
-
setExpectedValues
-