public interface LdapGroupProcessor
Modifier and Type | Method and Description |
---|---|
default Set<String> |
getAdditionalGroups(LdapSearchResult result)
Provides a way to add additional groups to the ldap group search.
|
Set<String> |
process(String attribute,
LdapSearchResult result,
SearchProvider groupResults)
Processes groups returned from LDAP.
|
default Optional<String> |
processGroup(String group)
Transform the group into the format required.
|
Set<String> process(String attribute, LdapSearchResult result, SearchProvider groupResults) throws NamingException
attribute
- The group attribute in the contextresult
- The search result of the usergroupResults
- The provider responsible for querying LDAPNamingException
- If the search provider failsdefault Set<String> getAdditionalGroups(LdapSearchResult result)
result
- The ldap search result