Package | Description |
---|---|
com.sun.identity.entitlement |
Defines classes and interfaces to work with entitlements.
|
com.sun.identity.entitlement.opensso | |
org.forgerock.openam.entitlement.rest |
REST (CREST) endpoint for managing entitlements policies and evaluating policy decisions.
|
org.forgerock.openam.entitlement.rest.model.json |
Data model for the entitlements resource.
|
Modifier and Type | Method and Description |
---|---|
Entitlement |
Privilege.getEntitlement()
Returns entitlement defined in the privilege
|
protected Entitlement |
EntitlementCombiner.getRootE()
Returns the entitlement which will act as the root for sub tree evaluations.
|
Modifier and Type | Method and Description |
---|---|
List<Entitlement> |
Evaluator.evaluate(String realm,
Subject subject,
Set<String> resourceNames,
Map<String,Set<String>> environment)
Returns a list of entitlements for a given subject, resource names and environment.
|
List<Entitlement> |
Evaluator.evaluate(String realm,
Subject subject,
String resourceName,
Map<String,Set<String>> environment,
boolean recursive)
Returns a list of entitlements for a given subject, resource name
and environment.
|
List<Entitlement> |
ReferralPrivilege.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)
Deprecated.
|
List<Entitlement> |
IPrivilege.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.
|
abstract List<Entitlement> |
Privilege.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.
|
List<Entitlement> |
EntitlementCombiner.getResults()
Returns entitlements which are the result of combining a set of entitlements.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Evaluator.hasEntitlement(String realm,
Subject subject,
Entitlement e,
Map<String,Set<String>> envParameters)
Returns
true if the subject is granted to an entitlement. |
protected void |
EntitlementCombiner.mergeActionValues(Entitlement e1,
Entitlement e2)
Sets the action values of the first entitlement to be the union of all action values from the first and second
entitlements; if a particular action value is contained in both entitlements, then the two values are combined
(using the implementation-dependent)
EntitlementCombiner.combine(java.lang.Boolean, java.lang.Boolean) method) before being added to the first entitlement. |
protected void |
EntitlementCombiner.mergeAdvices(Entitlement e1,
Entitlement e2)
Sets the advices of the first entitlement to be the union of all advices from the first and second entitlements.
|
protected void |
EntitlementCombiner.mergeAttributes(Entitlement e1,
Entitlement e2)
Sets the attributes of the first entitlement to be the union of all attributes from the first and second
entitlements.
|
protected void |
EntitlementCombiner.mergeTimeToLiveValue(Entitlement e1,
Entitlement e2)
Merges time to live values.
|
void |
Privilege.setEntitlement(Entitlement entitlement)
Sets entitlement.
|
Modifier and Type | Method and Description |
---|---|
void |
EntitlementCombiner.add(List<Entitlement> entitlements)
Adds a set of entitlements to the overall entitlement decision.
|
Modifier and Type | Method and Description |
---|---|
List<Entitlement> |
OpenSSOPrivilege.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) |
Modifier and Type | Method and Description |
---|---|
List<Entitlement> |
PolicyEvaluator.evaluateBatch(BatchPolicyRequest request)
Given a batch policy request, provides a set of policy
decisions that correspond to each resource definition.
|
List<Entitlement> |
PolicyEvaluator.evaluateTree(TreePolicyRequest request)
Given a tree policy request, provides a set of policy decisions for each
defined policy that matches the single resource definition and below.
|
List<Entitlement> |
PolicyEvaluator.routePolicyRequest(PolicyRequest request)
Given a generic policy request, routes the request to the appropriate evaluation method.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.json.JsonValue |
PolicyParser.printEntitlement(Entitlement entitlement)
Converts an entitlement decision into JSON.
|
org.forgerock.json.JsonValue |
JsonPolicyParser.printEntitlement(Entitlement entitlement) |
Modifier and Type | Method and Description |
---|---|
org.forgerock.json.JsonValue |
PolicyParser.printEntitlements(List<Entitlement> entitlements)
Converts a list of policy decisions to a json representation.
|
org.forgerock.json.JsonValue |
JsonPolicyParser.printEntitlements(List<Entitlement> entitlements) |
Modifier and Type | Method and Description |
---|---|
Entitlement |
JsonEntitlement.asEntitlement()
Returns the underlying entitlement instance.
|
Modifier and Type | Method and Description |
---|---|
List<Entitlement> |
TreePolicyRequest.dispatch(PolicyEvaluator evaluator) |
List<Entitlement> |
BatchPolicyRequest.dispatch(PolicyEvaluator evaluator) |
abstract List<Entitlement> |
PolicyRequest.dispatch(PolicyEvaluator evaluator)
Given the policy evaluator dispatch oneself as one knows best.
|
Constructor and Description |
---|
JsonDecision(Entitlement entitlement) |
JsonEntitlement(Entitlement entitlement)
Constructs a JSON wrapper around the given entitlement implementation.
|
JsonEntitlementPattern(Entitlement entitlement) |
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.