Class UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute
java.lang.Object
org.keycloak.storage.ldap.mappers.membership.UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute
- All Implemented Interfaces:
UserRolesRetrieveStrategy
- Enclosing interface:
- UserRolesRetrieveStrategy
public static class UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute
extends Object
implements UserRolesRetrieveStrategy
Roles of user will be retrieved from "memberOf" attribute of our user
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.storage.ldap.mappers.membership.UserRolesRetrieveStrategy
UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute, UserRolesRetrieveStrategy.LoadRolesByMember, UserRolesRetrieveStrategy.LoadRolesByMemberRecursively
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeUserLDAPQuery
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query) getLDAPRoleMappings
(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig)
-
Constructor Details
-
GetRolesFromUserMemberOfAttribute
public GetRolesFromUserMemberOfAttribute()
-
-
Method Details
-
getLDAPRoleMappings
public List<LDAPObject> getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) - Specified by:
getLDAPRoleMappings
in interfaceUserRolesRetrieveStrategy
-
beforeUserLDAPQuery
- Specified by:
beforeUserLDAPQuery
in interfaceUserRolesRetrieveStrategy
-