Package | Description |
---|---|
com.sun.identity.policy |
Provides classes for policy administration and evaluation.
|
com.sun.identity.policy.interfaces |
Deprecated interfaces for writing custom Policy plugins for Conditions,
Subjects, Referrals, ResponseProviders and Resources.
|
com.sun.identity.policy.remote |
Classes to handle policies remotely.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidFormatException
Exception thrown if a name of an object such as policy, rule or
referral has invalid format
|
class |
InvalidNameException
Exception thrown if a name of an object such as policy, rule or
referral is invalid
|
class |
LimitExceededException
Exception thrown if any configured limit is exceeded
|
class |
NameAlreadyExistsException
Exception thrown if a name of an object such as policy, rule or
referral already exists (used by another object of the same type)
|
class |
NameNotFoundException
Exception thrown if an object such as policy, rule or
referral for the given name does not exist.
|
class |
NoPermissionException
Exception thrown if a policy operation attempted could not be
done due to insufficient permissions
|
class |
ObjectInUseException
Exception thrown to indicate that an object you are trying to
remove is in use and therefore can not be removed.
|
Modifier and Type | Method and Description |
---|---|
void |
PolicyManager.addPolicy(Policy policy)
Deprecated.
Adds a policy to the data store.
|
void |
Policy.addRealmSubject(SSOToken token,
String subjectName,
String realmName,
boolean exclusive)
Deprecated.
Adds a reference in the policy to a Subject defined at the realm.
|
void |
Policy.addRealmSubject(String subjectName,
SubjectTypeManager stm,
boolean exclusive)
Deprecated.
Adds a reference in the policy to a Subject defined at the realm.
|
void |
SubjectTypeManager.addSubject(String subjectName,
Subject subject)
Deprecated.
Adds a policy subject at realm.
|
Condition |
ConditionTypeManager.getCondition(String conditionType)
Deprecated.
Returns an instance of the
Condition
given the condition type name. |
Set |
ConditionTypeManager.getConditionTypeNames()
Deprecated.
Returns a
Set of all valid condition type names defined
by the policy service. |
static ProxyPolicyEvaluatorFactory |
ProxyPolicyEvaluatorFactory.getInstance()
Deprecated.
Gets an instance of ProxyPolicyEvaluatorFactory.
|
Policy |
PolicyManager.getPolicy(String policyName)
Deprecated.
Gets the policy object given the name of the policy.
|
PolicyDecision |
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.
|
PolicyDecision |
ProxyPolicyEvaluator.getPolicyDecisionIgnoreSubjects(String resourceName,
Set actionNames,
Map env)
Deprecated.
Gets policy decision for a resource, skipping subject evaluation.
|
Set |
PolicyManager.getPolicyNames()
Deprecated.
Gets a set of names of polices defined in the
organization for which the policy manager was instantiated.
|
Set |
PolicyManager.getPolicyNames(String pattern)
Deprecated.
Gets a set of selected policy names matching the
pattern in the given organization.
|
ProxyPolicyEvaluator |
ProxyPolicyEvaluatorFactory.getProxyPolicyEvaluator(SSOToken token,
String serviceType)
Deprecated.
Gets an instance of
ProxyPolicyEvaluator . |
Referral |
ReferralTypeManager.getReferral(String referralType)
Deprecated.
Returns an instance of the
Referral
given the referral type name. |
Set |
ReferralTypeManager.getReferralTypeNames()
Deprecated.
Returns a set of all valid referral type names defined by the policy
service.
|
Set |
PolicyEvaluator.getResourceResults(SSOToken userToken,
String resourceName,
String scope,
Map envParameters)
Deprecated.
Gets resource result objects given a resource name.
|
ResponseProvider |
ResponseProviderTypeManager.getResponseProvider(String responseProviderTypeName)
Deprecated.
Returns an instance of the
ResponseProvider
given the response provider type name. |
Set |
ResponseProviderTypeManager.getResponseProviderTypeNames()
Deprecated.
Returns a set of all valid
ResponseProvider type names
defined in the PolicyConfig service. |
Set |
ConditionTypeManager.getSelectedConditionTypeNames()
Deprecated.
Returns a
Set of valid condition type names configured for
the organization. |
Set |
ReferralTypeManager.getSelectedReferralTypeNames()
Deprecated.
Returns a set of valid referral type names configured for the
organization.
|
Set |
ResponseProviderTypeManager.getSelectedResponseProviderTypeNames()
Deprecated.
Returns a set of valid
ResponseProvider type names
configured. |
Set |
SubjectTypeManager.getSelectedSubjectTypeNames()
Deprecated.
Returns a set of valid subject type names configured for the
organization.
|
Subject |
SubjectTypeManager.getSubject(String subjectType)
Deprecated.
Returns an instance of the
Subject given the subject type
name. |
Subject |
SubjectTypeManager.getSubjectByName(String subjectName)
Deprecated.
Returns the Subject object identified by subjectName defined at
the realm
|
Set |
SubjectTypeManager.getSubjectNames()
Deprecated.
Get the set of names of Subject(s) defined at the realm
|
Set |
SubjectTypeManager.getSubjectTypeNames()
Deprecated.
Returns a set of all valid subject type names defined by the policy
service.
|
boolean |
PolicyEvaluator.isAllowed(SSOToken token,
String resourceName,
String actionName,
Map envParameters)
Deprecated.
Evaluates simple privileges of boolean type.
|
void |
PolicyManager.removePolicy(String policyName)
Deprecated.
Deletes a policy in the organization with the given name.
|
Subject |
SubjectTypeManager.removeSubject(String subjectName)
Deprecated.
Removes the subject with the given name from the realm.
|
Subject |
SubjectTypeManager.removeSubject(String subjectName,
boolean forcedRemove)
Deprecated.
Removes the subject with the given name from the realm.
|
void |
PolicyManager.replacePolicy(Policy policy)
Deprecated.
Replaces a policy object in the data store with the same policy name
|
void |
SubjectTypeManager.replaceSubject(String subjectName,
Subject subject)
Deprecated.
Replaces an existing subject with the same name by the
current one at the realm.
|
void |
Policy.store(SSOToken token,
String name)
Deprecated.
Stores the policy object in a persistent data store
under the organization, sub-organization or a container
object, specified as a parameter.
|
Constructor and Description |
---|
PolicyEvaluator(String serviceTypeName)
Deprecated.
Constructor to create a
PolicyEvaluator given the
ServiceType name. |
PolicyManager(SSOToken token)
Deprecated.
Constructor for
PolicyManager for the
top (or root) organization. |
PolicyManager(SSOToken token,
String name)
Deprecated.
Constructor for
PolicyManager for the
specified organization, sub organization or a container object. |
Modifier and Type | Method and Description |
---|---|
ConditionDecision |
Condition.getConditionDecision(SSOToken token,
Map<String,Set<String>> env)
Deprecated.
Gets the decision computed by this condition object, based on the
Map of environment parameters |
String |
ResponseProvider.getDisplayName(String property,
Locale locale)
Deprecated.
Gets the display name for the property name.
|
String |
Condition.getDisplayName(String property,
Locale locale)
Deprecated.
Gets the display name for the property name.
|
PolicyDecision |
Referral.getPolicyDecision(SSOToken token,
String resourceType,
String resourceName,
Set actionNames,
Map envParameters)
Deprecated.
Gets policy results
|
Set |
Referral.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.
|
Map |
ResponseProvider.getResponseDecision(SSOToken token,
Map env)
Deprecated.
Gets the response attributes computed by this ResponseProvider object,
based on the
SSOToken and Map of
environment parameters. |
ValidValues |
Subject.getValidValues(SSOToken token)
Deprecated.
Returns a list of possible values for the
Subject
. |
ValidValues |
Referral.getValidValues(SSOToken token)
Deprecated.
Gets the valid values for this referral
|
ValidValues |
Subject.getValidValues(SSOToken token,
String pattern)
Deprecated.
Returns a list of possible values for the
Subject
that satisfy the given pattern . |
ValidValues |
Referral.getValidValues(SSOToken token,
String pattern)
Deprecated.
Gets the valid values for this referral
matching a pattern
|
Set |
ResponseProvider.getValidValues(String property)
Deprecated.
Returns a set of valid values given the property name.
|
Set<String> |
Condition.getValidValues(String property)
Deprecated.
Returns a set of valid values given the property name.
|
Syntax |
Subject.getValueSyntax(SSOToken token)
Deprecated.
Returns the syntax of the values the
Subject implementation can have. |
Syntax |
Referral.getValueSyntax(SSOToken token)
Deprecated.
Gets the syntax for the value
|
void |
Subject.initialize(Map configParams)
Deprecated.
Initialize (or configure) the
Subject
object. |
void |
ResponseProvider.initialize(Map configParams)
Deprecated.
Initialize the
ResponseProvider |
boolean |
Subject.isMember(SSOToken token)
Deprecated.
Determines if the user belongs to this instance
of the
Subject object. |
void |
ResponseProvider.setProperties(Map properties)
Deprecated.
Sets the properties of the responseProvider plugin.
|
void |
Condition.setProperties(Map<String,Set<String>> properties)
Deprecated.
Sets the properties of the condition.
|
Modifier and Type | Class and Description |
---|---|
class |
PolicyEvaluationException
The class
PolicyEvaluationException is the exception
for the error happening in policy request XML parsing and policy
request evaluation. |
Copyright © 2010-2018, ForgeRock All Rights Reserved.