Uses of Class
com.sun.identity.entitlement.EntitlementException
-
-
Uses of EntitlementException in com.sun.identity.cli.entitlement
Methods in com.sun.identity.cli.entitlement that throw EntitlementException Modifier and Type Method Description protected Map<String,Set<String>>ApplicationPrivilegeBase. getApplicationResourcesMap(RequestContext rc, String realm) -
Uses of EntitlementException in com.sun.identity.entitlement
Methods in com.sun.identity.entitlement that return EntitlementException Modifier and Type Method Description protected EntitlementExceptionPrefixResourceName. constructResourceInvalidException(Object[] args)protected EntitlementExceptionURLResourceName. constructResourceInvalidException(Object[] args)Methods in com.sun.identity.entitlement that throw EntitlementException Modifier and Type Method Description voidIPrivilegeManager. add(T privilege)Add a privilege.abstract voidPrivilegeIndexStore. add(Set<IPrivilege> privileges)Adds a set of privileges to the data store.voidPrivilegeManager. add(Privilege privilege)Add a privilege.voidListenerManager. addListener(Subject adminSubject, EntitlementListener listener)Adds entitlement listener.abstract voidPolicyDataStore. addPolicy(Subject subject, String realm, Privilege privilege)Adds policy.abstract voidApplicationPrivilegeManager. addPrivilege(ApplicationPrivilege appPrivilege)Adds a delegation privilege.abstract voidPolicyDataStore. addReferral(Subject subject, String realm, ReferralPrivilege referral)Adds a referral privilege.voidEntitlementConfiguration. addSubjectAttributeNames(String application, Set<String> names)Adds subject attribute names.booleanIPrivilegeManager. canFindByName(String name)Checks if a privilege with the specified name can be found.booleanPrivilegeManager. canFindByName(String name)Checks if a privilege with the specified name can be found.StringExactMatchResourceName. canonicalize(String str)Canonicalizes a string.StringRegExResourceName. canonicalize(String res)voidEntitlement. canonicalizeResources(Subject adminSubject, String realm)Canonicalizes resource name before persistence.voidPrivilege. canonicalizeResources(Subject adminSubject, String realm)Canonicalizes resource name before persistence.voidReferralPrivilege. canonicalizeResources(Subject adminSubject, String realm)Deprecated.Canonicalizes resource name before persistence.abstract voidPrivilegeIndexStore. delete(String privilegeName)Deletes a privilege from data store.abstract StringPrivilegeIndexStore. delete(String privilegeName, boolean notify)Deletes a privilege from data store.abstract voidPrivilegeIndexStore. delete(Set<IPrivilege> privilege)Deletes a set of privileges from data store.abstract voidPrivilegeIndexStore. deleteReferral(String privilegeName)Deletes a referralprivilege from data store.abstract StringPrivilegeIndexStore. deleteReferral(String privilegeName, boolean notify)Deletes a referralprivilege from data store.protected ConditionDecisionPrivilege. doesConditionMatch(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)protected SubjectDecisionPrivilege. doesSubjectMatch(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)ConditionDecisionAndCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsConditionDecisionofEntitlementConditionevaluationSubjectDecisionAndSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofEntitlementSubjectevaluationSubjectDecisionAnonymousESubject. evaluate(Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofESubjectevaluationSubjectDecisionAnyUserSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)Deprecated.ConditionDecisionAttributeLookupCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsConditionDecisionofEntitlementConditionevaluation.SubjectDecisionAttributeSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofEntitlementSubjectevaluationSet<String>Entitlement. evaluate(Subject adminSubject, String realm, Subject subject, String applicationName, String resourceName, Set<String> actionNames, Map<String,Set<String>> environment, boolean recursive)Returns a set of resource names that match the given resource.ConditionDecisionEntitlementCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Returns condition decision.SubjectDecisionEntitlementSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofEntitlementSubjectevaluation.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.SubjectDecisionGroupSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)Deprecated.ReturnsSubjectDecisionofEntitlementSubjectevaluation.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.SubjectDecisionJwtClaimSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)abstract ConditionDecisionLogicalCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsConditionDecisionofEntitlementConditionevaluationSubjectDecisionNoSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ConditionDecisionNotCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsConditionDecisionofEntitlementConditionevaluationSubjectDecisionNotSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofEntitlementSubjectevaluation.ConditionDecisionNumericAttributeCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)ConditionDecisionOrCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Evaluates thisConditionDecision'sEntitlementConditions to determine the correct decision to return - if any of theEntitlementConditions are true, the returned decision is satisfied and has no advices.SubjectDecisionOrSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofEntitlementSubjectevaluationabstract 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.Map<String,Set<String>>ResourceAttribute. evaluate(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Returns resource attributes applicable to the request.Map<String,Set<String>>StaticAttributes. evaluate(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Returns resoruce attributes aplicable to the requestConditionDecisionStringAttributeCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Map<String,Set<String>>UserAttributes. evaluate(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Returns resoruce attributes aplicable to the requestSubjectDecisionUserSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)Deprecated.ReturnsSubjectDecisionofEntitlementSubjectevaluationabstract List<Privilege>PrivilegeIndexStore. findAllPolicies()Finds all policies within the passed realm.abstract List<Privilege>PrivilegeManager. findAllPolicies()Finds all policies within the realm.abstract List<Privilege>PrivilegeIndexStore. findAllPoliciesByApplication(String application)Finds all policies within the passed realm and application.abstract List<Privilege>PrivilegeManager. findAllPoliciesByApplication(String application)Finds all policies within the realm and passed application.abstract List<Privilege>PrivilegeIndexStore. findAllPoliciesByIdentityUid(String uid)Finds all policies based on the identity uid, whether user or group uid.abstract List<Privilege>PrivilegeManager. findAllPoliciesByIdentityUid(String uid)Finds all policies based on the identity uid, whether user or group uid.TIPrivilegeManager. findByName(String name)Finds a privilege by its unique name.abstract PrivilegePrivilegeManager. findByName(String name, Subject subject)Returns a privilege.ApplicationEntitlement. getApplication(Subject adminSubject, String realm)Returns application for this entitlement.Set<String>SubjectAttributesManager. getApplicationAttributeNames(String realm, String applicationName)Returns application attribute names.ClassApplicationType. getApplicationClass()Returns application classSet<String>ReferralPrivilege. getApplicationTypeNames(Subject adminSubject, String realm)Deprecated.protected Map<String,Set<String>>Privilege. getAttributes(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Map<String,Set<String>>SubjectAttributesCollector. getAttributes(Subject subject, Set<String> attrNames)Returns the attribute values of the given user represented bySubject object.Map<String,Set<String>>SubjectAttributesManager. getAttributes(Subject subject, Set<String> attrNames)Returns the attribute values of the given user represented bySubject object.Set<String>SubjectAttributesCollector. getAvailableSubjectAttributeNames()Returns available subject attribute names.Set<String>SubjectAttributesManager. getAvailableSubjectAttributeNames()Returns available subject attribute names.static PrivilegePrivilege. getInstance(org.json.JSONObject jo)EntitlementListenerListenerManager. getListener(Subject adminSubject, String url)Returns registered listener of the notification URL.Set<EntitlementListener>ListenerManager. getListeners(Subject adminSubject)Returns a set of registered listeners.protected Set<String>Entitlement. getMatchingResources(Subject adminSubject, String realm, Subject subject, String applicationName, String resourceName, boolean recursive)static PrivilegePrivilege. getNewInstance()Returns entitlement privilege.static PrivilegePrivilege. getNewInstance(String jo)static PrivilegePrivilege. getNewInstance(org.json.JSONObject jo)abstract ObjectPolicyDataStore. getPolicy(Subject adminSubject, String realm, String name)Returns policy object.abstract ApplicationPrivilegeApplicationPrivilegeManager. getPrivilege(String name)Returns the application privilege object.abstract ReferralPrivilegePolicyDataStore. getReferral(Subject adminSubject, String realm, String name)Returns referral privilege object.abstract Set<String>PrivilegeIndexStore. getReferredResources(String applicationTypeName)Returns a set of resources that are referred to this realm.ResourceSaveIndexesEntitlement. getResourceSaveIndexes(Subject adminSubject, String realm)Returns resource save indexes.ResourceSaveIndexesIPrivilege. getResourceSaveIndexes(Subject adminSubject, String realm)Returns resource save indexes.ResourceSaveIndexesPrivilege. getResourceSaveIndexes(Subject adminSubject, String realm)Returns resource save indexes.ResourceSaveIndexesReferralPrivilege. getResourceSaveIndexes(Subject adminSubject, String realm)Deprecated.Returns resource save indexes.ResourceSearchIndexesApplication. getResourceSearchIndex(String resource, String realm)Returns search indexes for a given resource.ResourceSearchIndexesApplicationType. getResourceSearchIndex(String resource, String realm)Returns search indexes for a give resource name.ResourceSearchIndexesEntitlement. getResourceSearchIndexes(Subject adminSubject, String realm)Returns resource search indexes.Set<String>EntitlementConfiguration. getSubjectAttributeNames(String application)Returns subject attribute names.Map<String,Set<String>>EntitlementConfiguration. getSubjectAttributesCollectorConfiguration(String name)Returns subject attributes collector configuration.Set<String>SubjectAttributesManager. getSubjectSearchFilter(Subject subject, String applicationName)Returns the subject search filter for a given subject.static Set<String>SubjectAttributesManager. getSubjectSearchIndexes(Privilege privilege)Returns the subject search indexes for a given privilege.Map<String,Set<String>>SubjectAttributesCollector. getUserAttributes(Subject subject, Set<String> attrNames)Returns the attribute values of the given user represented bySubject object.Map<String,Set<String>>SubjectAttributesManager. getUserAttributes(Subject subject, Set<String> attrNames)Returns the attribute values of the given user represented bySubject object.booleanEvaluator. hasEntitlement(String realm, Subject subject, Entitlement e, Map<String,Set<String>> envParameters)Returnstrueif the subject is granted to an entitlement.abstract booleanApplicationPrivilegeManager. hasPrivilege(Application app, ApplicationPrivilege.Action action)abstract booleanApplicationPrivilegeManager. hasPrivilege(Privilege p, ApplicationPrivilege.Action action)Returnstrueif the subject has permission to a privilege of a given action.abstract booleanApplicationPrivilegeManager. hasPrivilege(ReferralPrivilege p, ApplicationPrivilege.Action action)Returnstrueif the subject has permission to a referral privilege of a given action.abstract booleanPrivilegeIndexStore. hasPrivilgesWithApplication(String realm, String applName)voidEntitlementCombiner. init(String realm, String applicationName, String normalisedResourceName, String requestedResourceName, Set<String> actions, boolean isRecursive)Initializes the combiner.voidEntitlementCombiner. init(String normalisedResourceName, String requestedResourceName, Set<String> actions, boolean isRecursive, Application application)Initializes the combiner.voidIPrivilegeManager. modify(T privilege)Modify a privilege.abstract voidPrivilegeManager. modify(String existingName, Privilege privilege)Modifies the specified policy.protected abstract voidPrivilegeManager. notifyPrivilegeChanged(String realm, Privilege previous, Privilege current, PolicyEventType eventType)voidWSDLParser. parse(File file)voidWSDLParser. parse(InputStream is)voidWSDLParser. parse(String uri)voidIPrivilegeManager. remove(String name)Remove a privilege.voidEntitlementConfiguration. removeApplication(String name)Removes application.static voidApplicationTypeManager. removeApplicationType(Subject adminSubject, String name)Removes application type.voidEntitlementConfiguration. removeApplicationType(String name)Removes application type.booleanListenerManager. removeListener(Subject adminSubject, String url)Returnstrueif listener(s) is/are successfully removed.abstract voidApplicationPrivilegeManager. removePrivilege(String name)Removes a privilege.abstract voidPolicyDataStore. removePrivilege(Subject subject, String realm, Privilege privilege)Removes policy.abstract voidPolicyDataStore. removeReferral(Subject subject, String realm, ReferralPrivilege referral)abstract voidApplicationPrivilegeManager. replacePrivilege(ApplicationPrivilege appPrivilege)Replaces (or modifies) an existing privilege.static voidApplicationTypeManager. saveApplicationType(Subject adminSubject, ApplicationType appType)Stores application type.abstract Iterator<IPrivilege>PrivilegeIndexStore. search(String realm, ResourceSearchIndexes indexes, Set<String> subjectIndexes, boolean bSubTree)Returns an iterator of matching privilege objects.List<Privilege>PrivilegeManager. search(Set<SearchFilter> filter)Returns a set of privileges that match the given search criteria with no size or time limits.List<Privilege>PrivilegeManager. search(Set<SearchFilter> filter, int searchSizeLimit, int searchTimeLimit)Returns a set of privileges that match the given search criteria.Set<Application>EntitlementConfiguration. searchApplications(Subject subject, org.forgerock.util.query.QueryFilter<String> queryFilter)Returns a set of applications for the given search criteria.Set<String>IPrivilegeManager. searchNames(Set<SearchFilter> filter)Returns a set of privilege names for a given search criteria.Set<String>IPrivilegeManager. searchNames(Set<SearchFilter> filter, int searchSizeLimit, int searchTimeLimit)Returns a set of privilege names for a given search criteria.Set<String>PrivilegeManager. searchNames(Set<SearchFilter> filter)Returns a set of privilege names for a given search criteria.Set<String>PrivilegeManager. searchNames(Set<SearchFilter> filter, int searchSizeLimit, int searchTimeLimit)Returns a set of privilege names for a given search criteria.abstract Set<String>PrivilegeIndexStore. searchPrivilegeNames(Set<SearchFilter> filters, boolean boolAnd, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a set of privilege names that matched a set of search criteria.abstract Set<String>PrivilegeIndexStore. searchReferralPrivilegeNames(Set<SearchFilter> filters, boolean boolAnd, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a set of referral privilege names that matched a set of search criteria.voidPrivilege. setEntitlement(Entitlement entitlement)Sets entitlement.voidReferralPrivilege. setMapApplNameToResources(Map<String,Set<String>> map)Deprecated.Sets the application name to resource name.voidPrivilege. setName(String name)Sets name.voidReferralPrivilege. setRealms(Set<String> realms)Deprecated.Sets realms.voidApplicationPrivilege. setSubject(Set<SubjectImplementation> entitlementSubjects)Sets entitlement subject.voidPrivilege. setSubject(EntitlementSubject eSubject)Sets entitlement subject.voidEntitlementConfiguration. setSubjectAttributesCollectorConfiguration(String name, Map<String,Set<String>> attrMap)Sets subject attributes collector configuration.voidEntitlementConfiguration. storeApplication(Application application)Stores the application to data store.voidEntitlementConfiguration. storeApplicationType(ApplicationType applicationType)Stores the application type to data store.voidAttributeLookupCondition. validate()voidEntitlementCondition. validate()Checks that this condition is configured correctly.voidLogicalCondition. validate()voidNotCondition. validate()voidNumericAttributeCondition. validate()protected voidPrivilegeManager. validate(Privilege privilege)Validates the passed policy.voidStringAttributeCondition. validate()Constructors in com.sun.identity.entitlement that throw EntitlementException Constructor Description EntitlementListener(String url, String application, Collection<String> resourceNames)Constructor.EntitlementListener(URL url, String application, Collection<String> resourceNames)Constructor.EntitlementListener(org.json.JSONObject jo)Evaluator(Subject subject)Constructor to create an evaluator the default service type.Evaluator(Subject subject, String applicationName)Constructor to create an evaluator given the service type.ReferralPrivilege(String name, Map<String,Set<String>> map, Set<String> realms)Deprecated.Constructor -
Uses of EntitlementException in com.sun.identity.entitlement.interfaces
Methods in com.sun.identity.entitlement.interfaces that throw EntitlementException Modifier and Type Method Description voidIEntitlementListenerRegistry. addListener(Subject adminSubject, EntitlementListener l)Adds entitlement listener.ResourceSearchIndexesISearchIndex. getIndexes(String resource, String realm)Returns search indexes for a given resource.Set<EntitlementListener>IEntitlementListenerRegistry. getListeners(Subject adminSubject)Returns a set of registered entitlement listener.booleanIEntitlementListenerRegistry. removeListener(Subject adminSubject, String url)Returnstrueif listener(s) is/are successfully removed. -
Uses of EntitlementException in com.sun.identity.entitlement.opensso
Methods in com.sun.identity.entitlement.opensso that throw EntitlementException Modifier and Type Method Description StringDataStore. add(Subject adminSubject, String realm, Privilege p)Adds a privilege.voidOpenSSOIndexStore. add(Set<IPrivilege> privileges)Adds a set of privileges to the data store.voidPolicyPrivilegeManager. add(Privilege privilege)Add a privilege.voidOpenSSOEntitlementListener. addListener(Subject adminSubject, EntitlementListener l)voidOpenSSOPolicyDataStore. addPolicy(Subject subject, String realm, Privilege privilege)voidOpenSSOApplicationPrivilegeManager. addPrivilege(ApplicationPrivilege appPrivilege)StringDataStore. addReferral(Subject adminSubject, String realm, ReferralPrivilege referral)Adds a referral.voidOpenSSOPolicyDataStore. addReferral(Subject subject, String realm, ReferralPrivilege referral)voidEntitlementService. addSubjectAttributeNames(String applicationName, Set<String> names)Returns subject attribute names.voidOpenSSOIndexStore. delete(String privilegeName)Deletes a set of privileges from data store.StringOpenSSOIndexStore. delete(String privilegeName, boolean notify)voidOpenSSOIndexStore. delete(Set<IPrivilege> privileges)Deletes a privilege from data store.voidOpenSSOIndexStore. deleteReferral(String privilegeName)Deletes a referral privilege from data store.StringOpenSSOIndexStore. deleteReferral(String privilegeName, boolean notify)SubjectDecisionOpenSSOGroupSubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)Deprecated.ReturnsSubjectDecisionofEntitlementSubjectevaluationList<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)ConditionDecisionPolicyCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Returns condition decision.Map<String,Set<String>>PolicyResponseProvider. evaluate(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)Called by the entitlements framework to fetch its resource attributes; cascades the call through to the configured response provider implementationSubjectDecisionPolicySubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)Returns subject decision.List<Privilege>OpenSSOIndexStore. findAllPolicies()List<Privilege>PolicyPrivilegeManager. findAllPolicies()List<Privilege>OpenSSOIndexStore. findAllPoliciesByApplication(String application)List<Privilege>PolicyPrivilegeManager. findAllPoliciesByApplication(String application)List<Privilege>OpenSSOIndexStore. findAllPoliciesByIdentityUid(String uid)List<Privilege>PolicyPrivilegeManager. findAllPoliciesByIdentityUid(String uid)PrivilegePolicyPrivilegeManager. findByName(String name)Finds a privilege by its unique name.PrivilegePolicyPrivilegeManager. findByName(String privilegeName, Subject adminSubject)Map<String,Set<String>>OpenSSOSubjectAttributesCollector. getAttributes(Subject subject, Set<String> attributeNames)Set<String>OpenSSOSubjectAttributesCollector. getAvailableSubjectAttributeNames()Set<EntitlementListener>OpenSSOEntitlementListener. getListeners(Subject adminSubject)ObjectOpenSSOPolicyDataStore. getPolicy(Subject adminSubject, String realm, String name)ConditionPolicyCondition. getPolicyCondition()Constructs a legacy policyConditionobject based on the information contained in this adapter.static StringPrivilegeUtils. getPolicyName(Object policy)SubjectPolicySubject. getPolicySubject()Constructs a legacy policy subject based on the information in this adapter.IPrivilegeDataStore. getPrivilege(String realm, String privilegeIdentifier)Retrieves an individual privilege from the data store.ApplicationPrivilegeOpenSSOApplicationPrivilegeManager. getPrivilege(String name)ReferralPrivilegeOpenSSOPolicyDataStore. getReferral(Subject adminSubject, String realm, String name)Set<String>OpenSSOIndexStore. getReferredResources(String applicationTypeName)Returns a set of resources that are referred to this realm.ResponseProviderPolicyResponseProvider. getResponseProvider()Constructs a legacy response provider based on the information in this adapter.Map<String,Set<String>>EntitlementService. getSubjectAttributesCollectorConfiguration(String name)Returns subject attributes collector configuration.Map<String,Set<String>>OpenSSOSubjectAttributesCollector. getUserAttributes(Subject subject, Set<String> attrNames)Returns the attribute values of the given user represented bySubject object.booleanOpenSSOApplicationPrivilegeManager. hasPrivilege(Application app, ApplicationPrivilege.Action action)booleanOpenSSOApplicationPrivilegeManager. hasPrivilege(Privilege p, ApplicationPrivilege.Action action)booleanOpenSSOApplicationPrivilegeManager. hasPrivilege(ReferralPrivilege p, ApplicationPrivilege.Action action)booleanDataStore. hasPrivilgesWithApplication(Subject adminSubject, String realm, String applName)booleanOpenSSOIndexStore. hasPrivilgesWithApplication(String realm, String applName)voidPolicyPrivilegeManager. modify(Privilege privilege)Modify a privilege.voidPolicyPrivilegeManager. modify(String existingName, Privilege privilege)Modify a privilege.protected voidPolicyPrivilegeManager. notifyPrivilegeChanged(String realm, Privilege previous, Privilege current, PolicyEventType eventType)static Set<IPrivilege>PrivilegeUtils. policyObjectToPrivileges(Object policy)static voidPrivilegeUtils. policyToPrivileges(Policy policy, Set<IPrivilege> privileges)static Set<IPrivilege>PrivilegeUtils. policyToPrivileges(Object policyObject)Maps an OpenAM Policy to entitlement Privilegestatic StringPrivilegeUtils. policyToXML(Object policy)static PolicyPrivilegeUtils. privilegeToPolicy(String realm, Privilege privilege)static ObjectPrivilegeUtils. privilegeToPolicyObject(String realm, Privilege privilege)static PolicyPrivilegeUtils. referralPrivilegeToPolicy(String realm, ReferralPrivilege referralPrivilege)voidDataStore. remove(Subject adminSubject, String realm, String name)Removes privilege.voidPolicyPrivilegeManager. remove(String name)Remove a privilege.voidEntitlementService. removeApplication(String name)Removes application.voidEntitlementService. removeApplicationType(String name)Removes application type.booleanOpenSSOEntitlementListener. removeListener(Subject adminSubject, String url)voidOpenSSOApplicationPrivilegeManager. removePrivilege(String name)voidOpenSSOPolicyDataStore. removePrivilege(Subject subject, String realm, Privilege privilege)voidDataStore. removeReferral(Subject adminSubject, String realm, String name)Removes referral privilege.voidOpenSSOPolicyDataStore. removeReferral(Subject subject, String realm, ReferralPrivilege referral)voidOpenSSOApplicationPrivilegeManager. replacePrivilege(ApplicationPrivilege appPrivilege)Set<IPrivilege>DataStore. search(Subject adminSubject, String realm, BufferedIterator iterator, ResourceSearchIndexes indexes, Set<String> subjectIndexes, boolean bSubTree, Set<String> excludeDNs)Returns a set of privilege that satifies the resource and subject indexes.Set<String>DataStore. search(Subject adminSubject, String realm, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a set of privilege names that satifies a search filter.Iterator<IPrivilege>OpenSSOIndexStore. search(String realm, ResourceSearchIndexes indexes, Set<String> subjectIndexes, boolean bSubTree)Returns an iterator of matching privilege objects.Iterator<IPrivilege>OpenSSOIndexStore. search(String realm, ResourceSearchIndexes indexes, Set<String> subjectIndexes, boolean bSubTree, boolean bReferral)Search for policies.Set<Application>EntitlementService. searchApplications(Subject subject, org.forgerock.util.query.QueryFilter<String> queryFilter)Set<String>OpenSSOIndexStore. searchPrivilegeNames(Set<SearchFilter> filters, boolean boolAnd, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a set of privilege names that satifies a search filter.Set<ReferralPrivilege>DataStore. searchReferral(SSOToken adminToken, String realm, BufferedIterator iterator, ResourceSearchIndexes indexes, boolean bSubTree, Set<String> excludeDNs)Returns a set of referral privilege that satifies the resource and subject indexes.Set<String>DataStore. searchReferral(Subject adminSubject, String realm, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a set of referral privilege names that satifies a search filter.Set<String>OpenSSOIndexStore. searchReferralPrivilegeNames(Set<SearchFilter> filters, boolean boolAnd, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a set of referral privilege names that satifies a search filter.Set<String>OpenSSOIndexStore. searchReferralPrivilegeNames(Set<SearchFilter> filters, Subject adminSubject, String currentRealm, boolean boolAnd, int numOfEntries, boolean sortResults, boolean ascendingOrder)Returns a set of referral privilege names that matched a set of search criteria.Set<ReferralPrivilege>DataStore. searchReferrals(SSOToken adminToken, String realm, String filter)voidEntitlementService. setSubjectAttributesCollectorConfiguration(String name, Map<String,Set<String>> attrMap)Sets subject attributes collector configuration.voidEntitlementService. storeApplication(Application appl)Stores the application to data store.voidEntitlementService. storeApplicationType(ApplicationType applicationType)Stores the application type to data store.voidPolicyCondition. validate()Constructors in com.sun.identity.entitlement.opensso that throw EntitlementException Constructor Description OpenSSOApplicationPrivilegeManager(String realm, Subject caller, ResourceTypeService resourceTypeService) -
Uses of EntitlementException in com.sun.identity.entitlement.xacml3
Methods in com.sun.identity.entitlement.xacml3 that throw EntitlementException Modifier and Type Method Description Set<ResourceAttribute>XACMLSchemaFactory. adviceExpressionsToResourceAttributes(AdviceExpressions adviceExpressions)Convert the specifiedAdviceExpressionsobject into a set ofResourceAttributeobjects.ResourceAttributeXACMLSchemaFactory. adviceExpressionToResourceAttribute(AdviceExpression adviceExpression)Convert the specifiedAdviceExpressionobject into aResourceAttribute.PolicySetXACMLExportImport. exportXACML(String realm, Subject admin, List<String> filters)Performs an export of all Policies found in the Privilege Manager that match the provided filters.ResourceAttributeResourceAttributeUtil. fromJSON(String json)Convert the JSON text into aResourceAttribute.PrivilegeSetXACMLReaderWriter. fromXACML(PolicySet policySet)Translate provided XACML PolicySet into OpenAM Privileges, ReferralPrivileges, Applications and ResourceTypes.static EntitlementConditionXACMLPrivilegeUtils. getEntitlementConditionFromPolicy(Policy policy)Constructs EntitlementCondition from the policy.SearchFilterSearchFilterFactory. getFilter(String filter)Returns a SearchFilter that matches the search string provided.List<ImportStep>XACMLExportImport. importXacml(String realm, InputStream xacml, Subject admin, boolean dryRun)Performs the Import based on the given Stream.static Set<Privilege>XACMLPrivilegeUtils. policySetToPrivileges(PolicySet policySet)static PrivilegeXACMLPrivilegeUtils. policyToPrivilege(Policy policy)static ReferralPrivilegeXACMLPrivilegeUtils. policyToReferral(Policy policy)PrivilegeSetXACMLReaderWriter. read(InputStream xacml)Reads a sequence of XACML policies as OpenAM Privileges.AdviceExpressionsXACMLSchemaFactory. resourceAttributesToAdviceExpressions(Set<ResourceAttribute> resourceAttributes)Convert a set ofResourceAttributeobjects to a singleAdviceExpressionobject.AdviceExpressionXACMLSchemaFactory. resourceAttributeToAdviceExpression(ResourceAttribute resourceAttribute)Convert oneResourceAttributeobject into anAdviceExpressionobject.StringResourceAttributeUtil. toJSON(ResourceAttribute attribute)Convert aPrivilegeResourceAttributeinto JSON representation.PolicySetXACMLReaderWriter. toXACML(String realm, PrivilegeSet privilegeSet)Translate provided OpenAM Privilege and ReferralPrivilege objects into XACML PolicySet.static StringXACMLPrivilegeUtils. toXML(PolicySet policySet)static voidXACMLPrivilegeUtils. validate(Privilege privilege, PrivilegeValidator privilegeValidator)Validates the privilege instance.static voidXACMLPrivilegeUtils. writeXMLToStream(PolicySet policySet, OutputStream outputStream) -
Uses of EntitlementException in com.sun.identity.entitlement.xacml3.validation
Methods in com.sun.identity.entitlement.xacml3.validation that throw EntitlementException Modifier and Type Method Description voidPrivilegeValidator. validatePrivilege(Privilege privilege)Apply validation logic to a Privilege.voidRealmValidator. validateRealms(Collection<String> realms)voidPrivilegeValidator. validateReferralPrivilege(ReferralPrivilege referralPrivilege)Apply validation logic to aReferralPrivilege. -
Uses of EntitlementException in com.sun.identity.policy
Methods in com.sun.identity.policy that throw EntitlementException Modifier and Type Method Description booleanPolicyManager. canCreatePolicies(Set<String> services)Deprecated. -
Uses of EntitlementException in com.sun.identity.rest
Methods in com.sun.identity.rest with parameters of type EntitlementException Modifier and Type Method Description protected jakarta.ws.rs.WebApplicationExceptionResourceBase. getWebApplicationException(jakarta.ws.rs.core.HttpHeaders headers, EntitlementException e, ResourceBase.MimeType mimeType) -
Uses of EntitlementException in org.forgerock.openam.entitlement
Methods in org.forgerock.openam.entitlement that throw EntitlementException Modifier and Type Method Description ConditionDecisionCachingEntitlementCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)First checks whether the backing condition has been evaluated already, if no, then evaluates the condition once and saves the result in thePrivilegeEvaluatorContext.conditionDecisionCache.voidCachingEntitlementCondition. validate() -
Uses of EntitlementException in org.forgerock.openam.entitlement.conditions.environment
Methods in org.forgerock.openam.entitlement.conditions.environment that throw EntitlementException Modifier and Type Method Description ConditionDecisionAMIdentityMembershipCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)ConditionDecisionAuthenticateToRealmCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionAuthenticateToServiceCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionAuthLevelCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionAuthSchemeCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionLDAPFilterCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionOAuth2ScopeCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionResourceEnvIPCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionScriptCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment)ConditionDecisionSessionCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionSessionPropertyCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.ConditionDecisionSimpleTimeCondition. evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> env)Returns condition decision.Set<String>EntitlementCoreWrapper. getAuthenticatedSchemes(SSOToken token)Returns the set of all authenticated Scheme names.Set<String>EntitlementCoreWrapper. getRealmQualifiedAuthenticatedSchemes(SSOToken token)Returns the set of all authenticated realm qualified scheme names.voidLDAPFilterCondition. setLdapFilter(String ldapFilter)protected LongIPv4Condition. stringToIp(String ip)Factory method for constructing an IP value from its String representation.protected com.googlecode.ipv6.IPv6AddressIPv6Condition. stringToIp(String ip)Factory method for constructing an IP value from its String representation.voidAMIdentityMembershipCondition. validate()voidAuthenticateToRealmCondition. validate()voidAuthenticateToServiceCondition. validate()voidAuthLevelCondition. validate()voidAuthSchemeCondition. validate()voidLDAPFilterCondition. validate()voidOAuth2ScopeCondition. validate()voidResourceEnvIPCondition. validate()voidScriptCondition. validate()voidSessionCondition. validate()voidSessionPropertyCondition. validate()voidSimpleTimeCondition. validate()Constructors in org.forgerock.openam.entitlement.conditions.environment that throw EntitlementException Constructor Description IPv4Condition(String startIp, String endIp, List<String> ipRange, List<String> dnsName)JSON deserialization constructor used to ensure fields are set in an order that allows inter-field validation to pass.IPv6Condition(String startIp, String endIp, List<String> ipRange, List<String> dnsName)JSON deserialization constructor used to ensure fields are set in an order that allows inter-field validation to pass. -
Uses of EntitlementException in org.forgerock.openam.entitlement.conditions.subject
Methods in org.forgerock.openam.entitlement.conditions.subject that throw EntitlementException Modifier and Type Method Description SubjectDecisionAuthenticatedUsers. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofEntitlementSubjectevaluation.SubjectDecisionIdentitySubject. evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)ReturnsSubjectDecisionofEntitlementSubjectevaluation. -
Uses of EntitlementException in org.forgerock.openam.entitlement.configuration
Methods in org.forgerock.openam.entitlement.configuration that throw EntitlementException Modifier and Type Method Description booleanResourceTypeConfiguration. containsName(Subject subject, String realm, String name)Check to see if a resource type with the given name already exists in this realm.booleanResourceTypeConfigurationImpl. containsName(Subject subject, String realm, String name)Check to see if a resource type with the given name already exists in this realm.booleanResourceTypeConfiguration. containsUUID(Subject subject, String realm, String uuid)Check to see if a resource type with the given UUID already exists in this realm.booleanResourceTypeConfigurationImpl. containsUUID(Subject subject, String realm, String uuid)Check to see if a resource type with the given UUID already exists in this realm.ResourceTypeResourceTypeConfiguration. getResourceType(Subject subject, String realm, String uuid)Retrieve a registered resource type by id.ResourceTypeResourceTypeConfigurationImpl. getResourceType(Subject subject, String realm, String uuid)Retrieve a registered resource type by id.Set<ResourceType>ResourceTypeConfiguration. getResourceTypes(org.forgerock.util.query.QueryFilter<SmsAttribute> filter, Subject subject, String realm)Retrieves a set of resource types based on the passed query filter.Set<ResourceType>ResourceTypeConfigurationImpl. getResourceTypes(org.forgerock.util.query.QueryFilter<SmsAttribute> queryFilter, Subject subject, String realm)Map<String,Map<String,Set<String>>>ResourceTypeConfiguration. getResourceTypesData(Subject subject, String realm)Retrieve the resource types stored under the specified realm from the data store.Map<String,Map<String,Set<String>>>ResourceTypeConfigurationImpl. getResourceTypesData(Subject subject, String realm)voidResourceTypeConfiguration. removeResourceType(Subject subject, String realm, String uuid)Remove a resource type.voidResourceTypeConfigurationImpl. removeResourceType(Subject subject, String realm, String uuid)Remove a resource type.voidResourceTypeConfiguration. storeResourceType(Subject subject, String realm, ResourceType resourceType)Stores the resource type to the data store.voidResourceTypeConfigurationImpl. storeResourceType(Subject subject, String realm, ResourceType resourceType)Stores the resource type to the data store. -
Uses of EntitlementException in org.forgerock.openam.entitlement.constraints
Subclasses of EntitlementException in org.forgerock.openam.entitlement.constraints Modifier and Type Class Description classConstraintFailureExceptionException to report constraint validation failures. -
Uses of EntitlementException in org.forgerock.openam.entitlement.indextree
Methods in org.forgerock.openam.entitlement.indextree that throw EntitlementException Modifier and Type Method Description ResourceSearchIndexesTreeSearchIndex. getIndexes(String resource, String realm)ResourceSearchIndexesTreeSearchIndexDelegate. getIndexes(String resource, String realm)Set<String>IndexTreeService. searchTree(String resource, String realm)Given a resource searches the tree for all matching index rules with the specified realm.Set<String>IndexTreeServiceImpl. searchTree(String resource, String realm)Given a resource searches the tree for all matching index rules with the specified realm. -
Uses of EntitlementException in org.forgerock.openam.entitlement.rest
Methods in org.forgerock.openam.entitlement.rest with parameters of type EntitlementException Modifier and Type Method Description org.forgerock.json.resource.ResourceExceptionEntitlementsExceptionMappingHandler. handleError(EntitlementException error)org.forgerock.json.resource.ResourceExceptionEntitlementsExceptionMappingHandler. handleError(String msg, org.forgerock.json.resource.Request request, EntitlementException error)Constructs an appropriateResourceExceptionfor the given request and entitlements exception.org.forgerock.json.resource.ResourceExceptionEntitlementsExceptionMappingHandler. handleError(org.forgerock.json.resource.Request request, EntitlementException error)org.forgerock.json.resource.ResourceExceptionEntitlementsExceptionMappingHandler. handleError(org.forgerock.services.context.Context context, String msg, org.forgerock.json.resource.Request request, EntitlementException error)Constructs an appropriateResourceExceptionfor the given request and entitlements exception.org.forgerock.json.resource.ResourceExceptionEntitlementsExceptionMappingHandler. handleError(org.forgerock.services.context.Context context, org.forgerock.json.resource.Request request, EntitlementException error)Constructs an appropriateResourceExceptionfor the given request and entitlements exception.Methods in org.forgerock.openam.entitlement.rest that throw EntitlementException Modifier and Type Method Description PolicyRequestPolicyRequestFactory. buildRequest(PolicyAction action, org.forgerock.services.context.Context context, org.forgerock.json.resource.ActionRequest request)Builds a request for the given action type.PrivilegePolicyStore. create(Privilege policy)Creates the given policy in the underlying store.protected ApplicationWrapperApplicationsResource. createApplicationWrapper(org.forgerock.json.JsonValue jsonValue)Abstracts out the createApplicationWrapper method so that we can easily test this class.protected ApplicationWrapperApplicationsResource. createApplicationWrapper(org.forgerock.json.JsonValue jsonValue, Subject mySubject)Creates anApplicationWrapperto hold theApplicationobject, after having deserialized it via Jackson.voidPolicyStore. delete(String policyName)Deletes the given policy from the policy store.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.PolicyEvaluatorEntitlementEvaluatorFactory. getEvaluator(Subject subject, String application)PolicyEvaluatorPolicyEvaluatorFactory. getEvaluator(Subject subject, String application)Given the subject looking to request policy decisions within an application context, retrieve the relevant policy evaluator.PolicyStorePolicyStoreProvider. getPolicyStore(Subject adminSubject, String realm)Gets a policy store for the given realm.PolicyStorePolicyStoreProvider. getPolicyStore(org.forgerock.services.context.Context context)Gets a policy store for the given realm.PrivilegeJsonPolicyParser. parsePolicy(String name, org.forgerock.json.JsonValue json)PrivilegePolicyParser. parsePolicy(String id, org.forgerock.json.JsonValue representation)Parses the given JSON policy representation into an entitlements policy (privilege).org.forgerock.json.JsonValueJsonPolicyParser. printEntitlement(Entitlement entitlement)org.forgerock.json.JsonValuePolicyParser. printEntitlement(Entitlement entitlement)Converts an entitlement decision into JSON.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.org.forgerock.json.JsonValueJsonPolicyParser. printPolicy(Privilege policy)org.forgerock.json.JsonValuePolicyParser. printPolicy(Privilege policy)Converts an entitlements policy back to the JSON serialisation representation.List<Privilege>PolicyStore. query(org.forgerock.json.resource.QueryRequest request)Queries the store for a set of policies that match the given query.PrivilegePolicyStore. read(String policyName)Reads the given named policy from the policy store.List<Entitlement>PolicyEvaluator. routePolicyRequest(PolicyRequest request)Given a generic policy request, routes the request to the appropriate evaluation method.voidApplicationV1FilterTransformer. transformJson(org.forgerock.json.JsonValue jsonValue, Subject callingSubject, String realm)Given the json representation of an application swaps out the resource type UUIDs for a set of actions and resources that is the union of actions and resources represented by the associated resource types.PrivilegePolicyStore. update(String existingName, Privilege policy)Updates the given policy to match the new definition.Constructor parameters in org.forgerock.openam.entitlement.rest with type arguments of type EntitlementException Constructor Description ApplicationsResource(Debug debug, ApplicationServiceFactory applicationServiceFactory, ApplicationTypeManagerWrapper appTypeManagerWrapper, ExceptionMappingHandler<EntitlementException,org.forgerock.json.resource.ResourceException> exceptionMappingHandler)ApplicationV1Filter(ResourceTypeService resourceTypeService, ApplicationServiceFactory applicationServiceFactory, ExceptionMappingHandler<EntitlementException,org.forgerock.json.resource.ResourceException> resourceErrorHandler, ContextHelper contextHelper, ApplicationV1FilterTransformer applicationTransformer, Debug debug)ApplicationV1FilterTransformer(ContextHelper contextHelper, ResourceTypeService resourceTypeService, ExceptionMappingHandler<EntitlementException,org.forgerock.json.resource.ResourceException> resourceErrorHandler)PolicyResource(PolicyEvaluatorFactory factory, PolicyRequestFactory requestFactory, PolicyParser parser, PolicyStoreProvider provider, ExceptionMappingHandler<EntitlementException,org.forgerock.json.resource.ResourceException> handler)PolicyV1Filter(ApplicationServiceFactory applicationServiceFactory, ExceptionMappingHandler<EntitlementException,org.forgerock.json.resource.ResourceException> resourceErrorHandler, ContextHelper contextHelper, Debug debug)ResourceTypesResource(Debug logger, ExceptionMappingHandler<EntitlementException,org.forgerock.json.resource.ResourceException> exceptionMappingHandler, ResourceTypeService resourceTypeService)Guiced-constructor. -
Uses of EntitlementException in org.forgerock.openam.entitlement.rest.model.json
Methods in org.forgerock.openam.entitlement.rest.model.json that throw EntitlementException 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)static BatchPolicyRequestBatchPolicyRequest. getBatchPolicyRequest(org.forgerock.services.context.Context context, org.forgerock.json.resource.ActionRequest request, SSOTokenManager tokenManager)Gets a batch policy request based on the context and action request.static TreePolicyRequestTreePolicyRequest. getTreePolicyRequest(org.forgerock.services.context.Context context, org.forgerock.json.resource.ActionRequest request, SSOTokenManager tokenManager)Gets a tree policy request based on the context and action request.voidJsonPolicy. setEntitlement(JsonEntitlementPattern jsonEntitlement)Sets the entitlement pattern used to determine which resources and actions this policy is applicable to.voidJsonPolicy. setName(String name)Set the policy name.voidJsonPolicy. setSubject(EntitlementSubject subject)Sets the subject to use for this policy.Constructors in org.forgerock.openam.entitlement.rest.model.json that throw EntitlementException Constructor Description JsonPolicy()Default constructor for Jackson to use.JsonPolicy(Privilege privilege)Constructs a JSON wrapper policy using the given privilege object as the underlying policy implementation. -
Uses of EntitlementException in org.forgerock.openam.entitlement.rest.wrappers
Methods in org.forgerock.openam.entitlement.rest.wrappers that throw EntitlementException Modifier and Type Method Description voidReferralWrapper. setRealms(Set<String> realms)voidReferralWrapper. setResources(Map<String,Set<String>> resourceMap)org.forgerock.json.JsonValueApplicationWrapper. toJsonValue()org.forgerock.json.JsonValueJsonResourceType. toJsonValue()Focus of this class. -
Uses of EntitlementException in org.forgerock.openam.entitlement.service
Methods in org.forgerock.openam.entitlement.service that throw EntitlementException Modifier and Type Method Description booleanResourceTypeService. contains(Subject subject, String realm, String id)Determines whether the resource type Id represents a valid and present resource type.booleanResourceTypeServiceImpl. contains(Subject subject, String realm, String id)voidApplicationService. deleteApplication(String name)Removes application in the realm.voidApplicationServiceImpl. deleteApplication(String name)voidResourceTypeService. deleteResourceType(Subject subject, String realm, String uuid)Delete the resource type with the given UUID stored under the given realm from the data store.voidResourceTypeServiceImpl. deleteResourceType(Subject subject, String realm, String uuid)Delete the resource type with the given UUID stored under the given realm from the data store.ApplicationApplicationService. getApplication(String applicationName)Retrieves an application instance for the passed name.ApplicationApplicationServiceImpl. getApplication(String name)Set<String>ApplicationService. getApplicationNames()Returns all the application names in a realm.Set<String>ApplicationServiceImpl. getApplicationNames()Set<Application>ApplicationService. getApplications()Returns all the applications in a realm.Set<Application>ApplicationServiceImpl. getApplications()Set<String>ApplicationService. getReferredResources(String applicationTypeName)Returns referred resources for a realm.Set<String>ApplicationServiceImpl. getReferredResources(String applicationTypeName)ResourceTypeResourceTypeService. getResourceType(Subject subject, String realm, String uuid)Retrieve the resource type with the given UUID, stored under the specified realm.ResourceTypeResourceTypeServiceImpl. getResourceType(Subject subject, String realm, String uuid)Retrieve the resource type with the given UUID, stored under the specified realm.Set<ResourceType>ResourceTypeService. getResourceTypes(org.forgerock.util.query.QueryFilter<SmsAttribute> filter, Subject subject, String realm)Retrieves a set of resource types based on the passed query filter.Set<ResourceType>ResourceTypeServiceImpl. getResourceTypes(org.forgerock.util.query.QueryFilter<SmsAttribute> filter, Subject subject, String realm)Map<String,Map<String,Set<String>>>ResourceTypeService. getResourceTypesData(Subject subject, String realm)Retrieve the resource types stored under the specified realm from the data store.Map<String,Map<String,Set<String>>>ResourceTypeServiceImpl. getResourceTypesData(Subject subject, String realm)ApplicationApplicationService. saveApplication(Application application)Saves application data.ApplicationApplicationServiceImpl. saveApplication(Application application)ResourceTypeResourceTypeService. saveResourceType(Subject subject, String realm, ResourceType resourceType)Save the ResourceType in the data store under the resource type's realm.ResourceTypeResourceTypeServiceImpl. saveResourceType(Subject subject, String realm, ResourceType resourceType)Save the ResourceType in the data store under the resource type's realm.Set<Application>ApplicationService. search(org.forgerock.util.query.QueryFilter<String> queryFilter)Returns the applications that matches the search criteria.Set<Application>ApplicationServiceImpl. search(org.forgerock.util.query.QueryFilter<String> queryFilter)ResourceTypeResourceTypeService. updateResourceType(Subject subject, String realm, ResourceType resourceType)Update the given resource type.ResourceTypeResourceTypeServiceImpl. updateResourceType(Subject subject, String realm, ResourceType resourceType)Update the given resource type. -
Uses of EntitlementException in org.forgerock.openam.entitlement.utils
Methods in org.forgerock.openam.entitlement.utils that throw EntitlementException Modifier and Type Method Description static ApplicationEntitlementUtils. createApplication(ApplicationType applicationType, String name, Map<String,Set<String>> data)Constructs anApplicationobject based on the provided information.static ApplicationEntitlementUtils. newApplication(String name, ApplicationType applicationType)Creates an application. -
Uses of EntitlementException in org.forgerock.openam.uma
Methods in org.forgerock.openam.uma that throw EntitlementException Modifier and Type Method Description EvaluatorUmaProviderSettings. getPolicyEvaluator(Subject subject)EvaluatorUmaProviderSettings. getPolicyEvaluator(Subject subject, String clientId)org.restlet.representation.RepresentationAuthorizationRequestEndpoint. requestAuthorization(org.restlet.ext.json.JsonRepresentation entity) -
Uses of EntitlementException in org.forgerock.openam.uma.rest
Methods in org.forgerock.openam.uma.rest that throw EntitlementException Modifier and Type Method Description EvaluatorUmaPolicyEvaluatorFactory. getEvaluator(Subject subject, String application)Given the subject looking to request policy decisions within an application context, retrieve the relevant policy evaluator.Constructors in org.forgerock.openam.uma.rest that throw EntitlementException Constructor Description UmaResourceSetRegistrationHook(ResourceTypeService resourceTypeService, ApplicationServiceFactory applicationServiceFactory, UmaPolicyService policyService, SessionCache sessionCache)Creates a new UmaResourceSetRegistrationHook instance. -
Uses of EntitlementException in org.forgerock.openam.xacml.v3
Methods in org.forgerock.openam.xacml.v3 that throw EntitlementException Modifier and Type Method Description voidPersistableImportStep. apply()Contents of this import step will be applied to the data store.voidImportStepGenerator. generateImportSteps()Generates Import Steps for Application, ResourceType and Privilege.static Set<ResourceType>XACMLResourceTypeUtils. getAllResourceTypes(ResourceTypeService resourceTypeService, Subject subject, String realm)Gets all resource types using the resource type service instance.ApplicationTypeXACMLApplicationUtils.ApplicationTypeService. getApplicationType(Subject subject, String applicationName)Get the application type already present in the system.static ApplicationXACMLApplicationUtils. policyToApplication(Policy policy)Creates an Application instance from the attributes of the Policy instance.
-