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
Constructors Constructor Description GetRolesFromUserMemberOfAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeUserLDAPQuery(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query)List<LDAPObject>getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig)
-
-
-
Method Detail
-
getLDAPRoleMappings
public List<LDAPObject> getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig)
- Specified by:
getLDAPRoleMappingsin interfaceUserRolesRetrieveStrategy
-
beforeUserLDAPQuery
public void beforeUserLDAPQuery(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query)
- Specified by:
beforeUserLDAPQueryin interfaceUserRolesRetrieveStrategy
-
-