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.UserRolesRetrieveStrategyUserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute, UserRolesRetrieveStrategy.LoadRolesByMember, UserRolesRetrieveStrategy.LoadRolesByMemberRecursively
 
- 
 - 
Constructor SummaryConstructors Constructor Description LoadRolesByMember()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeUserLDAPQuery(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query)List<LDAPObject>getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig)protected ConditiongetMembershipCondition(String membershipAttr, String userMembership)
 
- 
- 
- 
Method Detail- 
getLDAPRoleMappingspublic List<LDAPObject> getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) - Specified by:
- getLDAPRoleMappingsin interface- UserRolesRetrieveStrategy
 
 - 
beforeUserLDAPQuerypublic void beforeUserLDAPQuery(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query) - Specified by:
- beforeUserLDAPQueryin interface- UserRolesRetrieveStrategy
 
 
- 
 
-