Uses of Class
com.sun.identity.entitlement.Entitlement
-
Packages that use Entitlement 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. -
-
Uses of Entitlement in com.sun.identity.entitlement
Methods in com.sun.identity.entitlement that return Entitlement Modifier and Type Method Description EntitlementPrivilege. getEntitlement()Returns entitlement defined in the privilegeprotected EntitlementEntitlementCombiner. getRootE()Returns the entitlement which will act as the root for sub tree evaluations.Methods in com.sun.identity.entitlement that return types with arguments of type Entitlement Modifier and Type Method Description 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>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>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>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>EntitlementCombiner. getResults()Returns entitlements which are the result of combining a set of entitlements.Methods in com.sun.identity.entitlement with parameters of type Entitlement Modifier and Type Method Description booleanEvaluator. hasEntitlement(String realm, Subject subject, Entitlement e, Map<String,Set<String>> envParameters)Returnstrueif the subject is granted to an entitlement.protected voidEntitlementCombiner. 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 voidEntitlementCombiner. 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 voidEntitlementCombiner. 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 voidEntitlementCombiner. mergeTimeToLiveValue(Entitlement e1, Entitlement e2)Merges time to live values.voidPrivilege. setEntitlement(Entitlement entitlement)Sets entitlement.Method parameters in com.sun.identity.entitlement with type arguments of type Entitlement Modifier and Type Method Description voidEntitlementCombiner. add(List<Entitlement> entitlements)Adds a set of entitlements to the overall entitlement decision. -
Uses of Entitlement in com.sun.identity.entitlement.opensso
Methods in com.sun.identity.entitlement.opensso that return types with arguments of type Entitlement Modifier and Type Method 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) -
Uses of Entitlement in org.forgerock.openam.entitlement.rest
Methods in org.forgerock.openam.entitlement.rest that return types with arguments of type Entitlement Modifier and Type Method 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.Methods in org.forgerock.openam.entitlement.rest with parameters of type Entitlement Modifier and Type Method Description org.forgerock.json.JsonValueJsonPolicyParser. printEntitlement(Entitlement entitlement)org.forgerock.json.JsonValuePolicyParser. printEntitlement(Entitlement entitlement)Converts an entitlement decision into JSON.Method parameters in org.forgerock.openam.entitlement.rest with type arguments of type Entitlement Modifier and Type Method Description org.forgerock.json.JsonValueJsonPolicyParser. printEntitlements(List<Entitlement> entitlements)org.forgerock.json.JsonValuePolicyParser. printEntitlements(List<Entitlement> entitlements)Converts a list of policy decisions to a json representation. -
Uses of Entitlement in org.forgerock.openam.entitlement.rest.model.json
Methods in org.forgerock.openam.entitlement.rest.model.json that return Entitlement Modifier and Type Method Description EntitlementJsonEntitlement. asEntitlement()Returns the underlying entitlement instance.Methods in org.forgerock.openam.entitlement.rest.model.json that return types with arguments of type Entitlement Modifier and Type Method Description List<Entitlement>BatchPolicyRequest. dispatch(PolicyEvaluator evaluator)abstract List<Entitlement>PolicyRequest. dispatch(PolicyEvaluator evaluator)Given the policy evaluator dispatch oneself as one knows best.List<Entitlement>TreePolicyRequest. dispatch(PolicyEvaluator evaluator)Constructors in org.forgerock.openam.entitlement.rest.model.json with parameters of type Entitlement Constructor Description JsonDecision(Entitlement entitlement)JsonEntitlement(Entitlement entitlement)Constructs a JSON wrapper around the given entitlement implementation.JsonEntitlementPattern(Entitlement entitlement)
-