Class AttributeCheckContextMapper

    • Constructor Detail

      • AttributeCheckContextMapper

        public AttributeCheckContextMapper()
    • Method Detail

      • mapFromContext

        public DirContextAdapter mapFromContext​(java.lang.Object ctx)
        Description copied from interface: ContextMapper
        Map a single LDAP Context to an object. The supplied Object ctx is the object from a single SearchResult, Binding, or a lookup operation.
        Specified by:
        mapFromContext in interface ContextMapper<DirContextAdapter>
        Parameters:
        ctx - the context to map to an object. Typically this will be a DirContextAdapter instance, unless a project specific DirObjectFactory has been specified on the ContextSource.
        Returns:
        an object built from the data in the context.
      • setAbsentAttributes

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

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

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