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 class
Roles of user will be retrieved from "memberOf" attribute of our userstatic class
Roles of user will be retrieved by sending LDAP query to retrieve all roles where "member" is our userstatic class
Extension specific to Active Directory. -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeUserLDAPQuery
(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
-