Package 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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ldap.core.DirContextAdapter
mapFromContext
(Object ctx) void
setAbsentAttributes
(String[] absentAttributes) void
setExpectedAttributes
(String[] expectedAttributes) void
setExpectedValues
(String[] expectedValues)
-
Constructor Details
-
AttributeCheckContextMapper
public AttributeCheckContextMapper()
-
-
Method Details
-
mapFromContext
- Specified by:
mapFromContext
in interfaceorg.springframework.ldap.core.ContextMapper<org.springframework.ldap.core.DirContextAdapter>
-
setAbsentAttributes
-
setExpectedAttributes
-
setExpectedValues
-