Class AttributeCheckAttributesMapper

  • All Implemented Interfaces:
    org.springframework.ldap.core.AttributesMapper<java.lang.Object>

    public class AttributeCheckAttributesMapper
    extends java.lang.Object
    implements org.springframework.ldap.core.AttributesMapper<java.lang.Object>
    Dummy AttributesMapper for testing purposes to check that the received Attributes are the expected ones.
    • Constructor Detail

      • AttributeCheckAttributesMapper

        public AttributeCheckAttributesMapper()
    • Method Detail

      • mapFromAttributes

        public java.lang.Object mapFromAttributes​(javax.naming.directory.Attributes attributes)
                                           throws javax.naming.NamingException
        Specified by:
        mapFromAttributes in interface org.springframework.ldap.core.AttributesMapper<java.lang.Object>
        Throws:
        javax.naming.NamingException
      • setAbsentAttributes

        public void setAbsentAttributes​(java.lang.String[] absentAttributes)
      • setExpectedAttributes

        public void setExpectedAttributes​(java.lang.String[] expectedAttributes)
      • setExpectedValues

        public void setExpectedValues​(java.lang.String[] expectedValues)