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