Class DefaultLdapGroupProcessor

    • Constructor Detail

      • DefaultLdapGroupProcessor

        public DefaultLdapGroupProcessor()
    • Method Detail

      • process

        public java.util.Set<java.lang.String> process​(java.lang.String attribute,
                                                       LdapSearchResult result,
                                                       SearchProvider groupResults)
                                                throws javax.naming.NamingException
        Description copied from interface: LdapGroupProcessor
        Processes groups returned from LDAP.
        Specified by:
        process in interface LdapGroupProcessor
        Parameters:
        attribute - The group attribute in the context
        result - The search result of the user
        groupResults - The provider responsible for querying LDAP
        Returns:
        The groups to populate in the authentication
        Throws:
        javax.naming.NamingException - If the search provider fails