Class UserRolesRetrieveStrategy.LoadRolesByMember
- java.lang.Object
-
- org.keycloak.storage.ldap.mappers.membership.UserRolesRetrieveStrategy.LoadRolesByMember
-
- All Implemented Interfaces:
UserRolesRetrieveStrategy
- Direct Known Subclasses:
UserRolesRetrieveStrategy.LoadRolesByMemberRecursively
- Enclosing interface:
- UserRolesRetrieveStrategy
public static class UserRolesRetrieveStrategy.LoadRolesByMember extends Object implements UserRolesRetrieveStrategy
Roles of user will be retrieved by sending LDAP query to retrieve all roles where "member" is 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 LoadRolesByMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeUserLDAPQuery(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query)
List<LDAPObject>
getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig)
protected Condition
getMembershipCondition(String membershipAttr, String userMembership)
-
-
-
Method Detail
-
getLDAPRoleMappings
public List<LDAPObject> getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig)
- Specified by:
getLDAPRoleMappings
in interfaceUserRolesRetrieveStrategy
-
beforeUserLDAPQuery
public void beforeUserLDAPQuery(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query)
- Specified by:
beforeUserLDAPQuery
in interfaceUserRolesRetrieveStrategy
-
-