Interface UserRolesRetrieveStrategy
- All Known Implementing Classes:
UserRolesRetrieveStrategy.GetRolesFromUserMemberOfAttribute,UserRolesRetrieveStrategy.LoadRolesByMember,UserRolesRetrieveStrategy.LoadRolesByMemberRecursively
public interface UserRolesRetrieveStrategy
Strategy for how to retrieve LDAP roles of user
- Author:
- Marek Posolda
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRoles of user will be loaded from LDAP based on "memberOf" attribute of our userstatic classRoles of user will be retrieved by sending LDAP query to retrieve all roles where "member" is our userstatic classExtension specific to Active Directory. -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeUserLDAPQuery(CommonLDAPGroupMapper roleOrGroupMapper, LDAPQuery query) getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) getLDAPRoleMembers(RealmModel realm, CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapRoleOrGroup, int firstResult, int maxResults)
-
Method Details
-
getLDAPRoleMappings
List<LDAPObject> getLDAPRoleMappings(CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapUser, LDAPConfig ldapConfig) -
getLDAPRoleMembers
List<UserModel> getLDAPRoleMembers(RealmModel realm, CommonLDAPGroupMapper roleOrGroupMapper, LDAPObject ldapRoleOrGroup, int firstResult, int maxResults) -
beforeUserLDAPQuery
-