Uses of Class
com.sun.identity.policy.PolicyException
Packages that use PolicyException
Package
Description
Provides classes for policy administration and evaluation.
Deprecated interfaces for writing custom Policy plugins for Conditions,
Subjects, Referrals, ResponseProviders and Resources.
Classes to handle policies remotely.
-
Uses of PolicyException in com.sun.identity.policy
Subclasses of PolicyException in com.sun.identity.policyModifier and TypeClassDescriptionclassException thrown if a name of an object such as policy, rule or referral has invalid formatclassException thrown if a name of an object such as policy, rule or referral is invalidclassException thrown if any configured limit is exceededclassException thrown if a name of an object such as policy, rule or referral already exists (used by another object of the same type)classException thrown if an object such as policy, rule or referral for the given name does not exist.classException thrown if a policy operation attempted could not be done due to insufficient permissionsclassException thrown to indicate that an object you are trying to remove is in use and therefore can not be removed.Methods in com.sun.identity.policy that throw PolicyExceptionModifier and TypeMethodDescriptionvoidDeprecated.Adds a policy to the data store.voidPolicy.addRealmSubject(SSOToken token, String subjectName, String realmName, boolean exclusive) Deprecated.Adds a reference in the policy to a Subject defined at the realm.voidPolicy.addRealmSubject(String subjectName, SubjectTypeManager stm, boolean exclusive) Deprecated.Adds a reference in the policy to a Subject defined at the realm.voidSubjectTypeManager.addSubject(String subjectName, Subject subject) Deprecated.Adds a policy subject at realm.ConditionTypeManager.getCondition(String conditionType) Deprecated.Returns an instance of theConditiongiven the condition type name.ConditionTypeManager.getConditionTypeNames()Deprecated.Returns aSetof all valid condition type names defined by the policy service.static ProxyPolicyEvaluatorFactoryProxyPolicyEvaluatorFactory.getInstance()Deprecated.Gets an instance of ProxyPolicyEvaluatorFactory.Deprecated.Gets the policy object given the name of the policy.PolicyEvaluator.getPolicyDecision(SSOToken token, String resourceName, Set actionNames, Map envParameters) Deprecated.Evaluates privileges of the user to perform the specified actions on the specified resource.ProxyPolicyEvaluator.getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env) Deprecated.Gets policy decision for a resource, skipping subject evaluation.PolicyManager.getPolicyNames()Deprecated.Gets a set of names of polices defined in the organization for which the policy manager was instantiated.PolicyManager.getPolicyNames(String pattern) Deprecated.Gets a set of selected policy names matching the pattern in the given organization.ProxyPolicyEvaluatorFactory.getProxyPolicyEvaluator(SSOToken token, String serviceType) Deprecated.Gets an instance ofProxyPolicyEvaluator.ReferralTypeManager.getReferral(String referralType) Deprecated.Returns an instance of theReferralgiven the referral type name.ReferralTypeManager.getReferralTypeNames()Deprecated.Returns a set of all valid referral type names defined by the policy service.PolicyEvaluator.getResourceResults(SSOToken userToken, String resourceName, String scope, Map envParameters) Deprecated.Gets resource result objects given a resource name.ResponseProviderTypeManager.getResponseProvider(String responseProviderTypeName) Deprecated.Returns an instance of theResponseProvidergiven the response provider type name.ResponseProviderTypeManager.getResponseProviderTypeNames()Deprecated.Returns a set of all validResponseProvidertype names defined in thePolicyConfigservice.ConditionTypeManager.getSelectedConditionTypeNames()Deprecated.Returns aSetof valid condition type names configured for the organization.ReferralTypeManager.getSelectedReferralTypeNames()Deprecated.Returns a set of valid referral type names configured for the organization.ResponseProviderTypeManager.getSelectedResponseProviderTypeNames()Deprecated.Returns a set of validResponseProvidertype names configured.SubjectTypeManager.getSelectedSubjectTypeNames()Deprecated.Returns a set of valid subject type names configured for the organization.SubjectTypeManager.getSubject(String subjectType) Deprecated.Returns an instance of theSubjectgiven the subject type name.SubjectTypeManager.getSubjectByName(String subjectName) Deprecated.Returns the Subject object identified by subjectName defined at the realmSubjectTypeManager.getSubjectNames()Deprecated.Get the set of names of Subject(s) defined at the realmSubjectTypeManager.getSubjectTypeNames()Deprecated.Returns a set of all valid subject type names defined by the policy service.booleanPolicyEvaluator.isAllowed(SSOToken token, String resourceName, String actionName, Map envParameters) Deprecated.Evaluates simple privileges of boolean type.voidPolicyManager.removePolicy(String policyName) Deprecated.Deletes a policy in the organization with the given name.SubjectTypeManager.removeSubject(String subjectName) Deprecated.Removes the subject with the given name from the realm.SubjectTypeManager.removeSubject(String subjectName, boolean forcedRemove) Deprecated.Removes the subject with the given name from the realm.voidPolicyManager.replacePolicy(Policy policy) Deprecated.Replaces a policy object in the data store with the same policy namevoidSubjectTypeManager.replaceSubject(String subjectName, Subject subject) Deprecated.Replaces an existing subject with the same name by the current one at the realm.voidDeprecated.Stores the policy object in a persistent data store under the organization, sub-organization or a container object, specified as a parameter.Constructors in com.sun.identity.policy that throw PolicyExceptionModifierConstructorDescriptionPolicyEvaluator(String serviceTypeName) Deprecated.Constructor to create aPolicyEvaluatorgiven theServiceTypename.PolicyManager(SSOToken token) Deprecated.Constructor forPolicyManagerfor the top (or root) organization.PolicyManager(SSOToken token, String name) Deprecated.Constructor forPolicyManagerfor the specified organization, sub organization or a container object. -
Uses of PolicyException in com.sun.identity.policy.interfaces
Methods in com.sun.identity.policy.interfaces that throw PolicyExceptionModifier and TypeMethodDescriptionDeprecated.Gets the decision computed by this condition object, based on theMapof environment parametersCondition.getDisplayName(String property, Locale locale) Deprecated.Gets the display name for the property name.ResponseProvider.getDisplayName(String property, Locale locale) Deprecated.Gets the display name for the property name.Referral.getPolicyDecision(SSOToken token, String resourceType, String resourceName, Set actionNames, Map envParameters) Deprecated.Gets policy resultsReferral.getResourceNames(SSOToken token, String serviceTypeName, String resourceName) Deprecated.Gets resource names that are exact matches, sub resources or wild card matches of argument resource name.ResponseProvider.getResponseDecision(SSOToken token, Map env) Deprecated.Gets the response attributes computed by this ResponseProvider object, based on theSSOTokenandMapof environment parameters.Condition.getValidValues(String property) Deprecated.Returns a set of valid values given the property name.Referral.getValidValues(SSOToken token) Deprecated.Gets the valid values for this referralReferral.getValidValues(SSOToken token, String pattern) Deprecated.Gets the valid values for this referral matching a patternResponseProvider.getValidValues(String property) Deprecated.Returns a set of valid values given the property name.Subject.getValidValues(SSOToken token) Deprecated.Returns a list of possible values for theSubject.Subject.getValidValues(SSOToken token, String pattern) Deprecated.Returns a list of possible values for theSubjectthat satisfy the givenpattern.Referral.getValueSyntax(SSOToken token) Deprecated.Gets the syntax for the valueSubject.getValueSyntax(SSOToken token) Deprecated.Returns the syntax of the values theSubjectimplementation can have.voidResponseProvider.initialize(Map configParams) Deprecated.Initialize theResponseProvidervoidSubject.initialize(Map configParams) Deprecated.Initialize (or configure) theSubjectobject.booleanDeprecated.Determines if the user belongs to this instance of theSubjectobject.voidCondition.setProperties(Map<String, Set<String>> properties) Deprecated.Sets the properties of the condition.voidResponseProvider.setProperties(Map properties) Deprecated.Sets the properties of the responseProvider plugin. -
Uses of PolicyException in com.sun.identity.policy.remote
Subclasses of PolicyException in com.sun.identity.policy.remoteModifier and TypeClassDescriptionclassThe classPolicyEvaluationExceptionis the exception for the error happening in policy request XML parsing and policy request evaluation.