Package org.openiam.authmanager.provider
Class AuthorizationManagerDataProvider
- java.lang.Object
-
- org.openiam.authmanager.provider.AuthorizationManagerDataProvider
-
@Component public class AuthorizationManagerDataProvider extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthorizationManagerDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<AuthorizationAccessRight>getAccessRight(Set<String> rightIds, Map<String,AuthorizationAccessRight> rights)protected Map<String,Set<MembershipDTO>>getMembershipMapByEntityId(List<MembershipDTO> list)protected Map<String,Set<MembershipDTO>>getMembershipMapByMemberEntityId(List<MembershipDTO> list)AuthorizationManagerDataModelgetModel(NonCachedEntitlementRequest request)Returns the current Entitlements Tree given the date and entitlementsType $NonCachedEntitlementRequestprotected Map<String,Set<String>>getRightMap(List<MembershipRightDTO> list)List<AuthorizationUser>getUsers()
-
-
-
Method Detail
-
getAccessRight
protected Set<AuthorizationAccessRight> getAccessRight(Set<String> rightIds, Map<String,AuthorizationAccessRight> rights)
-
getMembershipMapByEntityId
protected Map<String,Set<MembershipDTO>> getMembershipMapByEntityId(List<MembershipDTO> list)
-
getMembershipMapByMemberEntityId
protected Map<String,Set<MembershipDTO>> getMembershipMapByMemberEntityId(List<MembershipDTO> list)
-
getUsers
@Transactional(readOnly=true) public List<AuthorizationUser> getUsers()
-
getModel
@Transactional(readOnly=true) @Cacheable(value="authorizationManagerDataModelCache", key="{ #request }", condition="{#request != null and #request.cacheable}") public AuthorizationManagerDataModel getModel(NonCachedEntitlementRequest request)Returns the current Entitlements Tree given the date and entitlementsType $NonCachedEntitlementRequest- Returns:
-
-