Class DefaultLdapGroupProcessor
- java.lang.Object
-
- io.micronaut.configuration.security.ldap.group.DefaultLdapGroupProcessor
-
- All Implemented Interfaces:
LdapGroupProcessor
@Singleton public class DefaultLdapGroupProcessor extends java.lang.Object implements LdapGroupProcessor
Default implementation ofLdapGroupProcessor
.- Since:
- 1.0
- Author:
- James Kleeh
-
-
Constructor Summary
Constructors Constructor Description DefaultLdapGroupProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
process(java.lang.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.configuration.security.ldap.group.LdapGroupProcessor
getAdditionalGroups, processGroup
-
-
-
-
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 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:
javax.naming.NamingException
- If the search provider fails
-
-