Interface ContextMapper<T>

    • Method Detail

      • mapFromContext

        T mapFromContext​(java.lang.Object ctx)
                  throws javax.naming.NamingException
        Map a single LDAP Context to an object. The supplied Object ctx is the object from a single SearchResult, Binding, or a lookup operation.
        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.
        Throws:
        javax.naming.NamingException - if an error occurs.