Package io.micronaut.security.ldap.group
Class DefaultLdapGroupProcessor
java.lang.Object
io.micronaut.security.ldap.group.DefaultLdapGroupProcessor
- All Implemented Interfaces:
LdapGroupProcessor
Default implementation of
LdapGroupProcessor
.- Since:
- 1.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocess
(String attribute, LdapSearchResult result, SearchProvider groupResults) Processes groups returned from LDAP.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.security.ldap.group.LdapGroupProcessor
getAdditionalGroups, processGroup
-
Constructor Details
-
DefaultLdapGroupProcessor
public DefaultLdapGroupProcessor()
-
-
Method Details
-
process
public Set<String> process(String attribute, LdapSearchResult result, SearchProvider groupResults) throws NamingException Description copied from interface:LdapGroupProcessor
Processes groups returned from LDAP.- Specified by:
process
in interfaceLdapGroupProcessor
- Parameters:
attribute
- The group attribute in the contextresult
- The search result of the usergroupResults
- The provider responsible for querying LDAP- Returns:
- The groups to populate in the authentication
- Throws:
NamingException
- If the search provider fails
-