Class AuthorizationCacheToken
- java.lang.Object
-
- org.openiam.common.authmanager.service.model.AuthorizationCacheToken
-
- All Implemented Interfaces:
Serializable
public class AuthorizationCacheToken extends Object implements Serializable
This object holds cached entitlements data of the user We used to use bitsets, but that's unrealistic in the case of resources being added/removed For resources, we also store the rights For other entities, we only store the ID, as 99.99% of the time, we don't need the rights- Author:
- lbornov2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationCacheToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(VertexType type, String id)
boolean
contains(VertexType type, String id, String rightId)
-
-
-
Method Detail
-
contains
public boolean contains(VertexType type, String id)
-
contains
public boolean contains(VertexType type, String id, String rightId)
-
-