public interface IPrivilege
Modifier and Type | Method and Description |
---|---|
List<Entitlement> |
evaluate(Subject adminSubject,
String realm,
Subject subject,
String applicationName,
String normalisedResourceName,
String requestedResourceName,
Set<String> actionNames,
Map<String,Set<String>> environment,
boolean recursive,
Object context)
Returns a list of entitlement for a given subject, resource name
and environment.
|
long |
getLastModifiedDate()
Returns the date (as milliseconds since the Java epoch) since this privilege was last modified.
|
String |
getName()
Returns name.
|
ResourceSaveIndexes |
getResourceSaveIndexes(Subject adminSubject,
String realm)
Returns resource save indexes.
|
String getName()
long getLastModifiedDate()
ResourceSaveIndexes getResourceSaveIndexes(Subject adminSubject, String realm) throws EntitlementException
adminSubject
- Admin Subject.realm
- Realm NameEntitlementException
List<Entitlement> evaluate(Subject adminSubject, String realm, Subject subject, String applicationName, String normalisedResourceName, String requestedResourceName, Set<String> actionNames, Map<String,Set<String>> environment, boolean recursive, Object context) throws EntitlementException
adminSubject
- Admin Subjectrealm
- Realm Namesubject
- Subject who is under evaluation.applicationName
- Application name.normalisedResourceName
- The normalised resource name.requestedResourceName
- The requested resource name.actionNames
- Set of action names.environment
- Environment parameters.recursive
- true
to perform evaluation on sub resources
from the given resource name.context
- A security contextEntitlementException
- if the result cannot be determined.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.