Package | Description |
---|---|
com.sun.identity.policy |
Provides classes for policy administration and evaluation.
|
com.sun.identity.policy.interfaces |
Provides interfaces for writing custom Policy plugins for Conditons,
Subjects, Referrals ResponseProviders and Resources.
|
Modifier and Type | Method and Description |
---|---|
Set |
Rule.getActionValues(String actionName)
Returns a set of action values that have been set for the
specified action name.
|
Condition |
Policy.getCondition(String condition)
Gets the condition object identified by name.
|
Condition |
ConditionTypeManager.getCondition(String conditionType)
Returns an instance of the
Condition
given the condition type name. |
Policy |
PolicyManager.getPolicy(String policyName)
Gets the policy object given the name of the policy.
|
ProxyPolicyEvaluator |
ProxyPolicyEvaluatorFactory.getProxyPolicyEvaluator(SSOToken token,
String serviceType)
Gets an instance of
ProxyPolicyEvaluator . |
Referral |
ReferralTypeManager.getReferral(String referralType)
Returns an instance of the
Referral
given the referral type name. |
Referral |
Policy.getReferral(String referralName)
Gets the Referral object identified by name.
|
ResponseProvider |
ResponseProviderTypeManager.getResponseProvider(String responseProviderTypeName)
Returns an instance of the
ResponseProvider
given the response provider type name. |
Rule |
Policy.getRule(String ruleName)
Gets the rule object identified by name.
|
Subject |
SubjectTypeManager.getSubject(String subjectType)
Returns an instance of the
Subject given the subject type
name. |
Subject |
Policy.getSubject(String subjectName)
Gets the Subject object identified by name.
|
Subject |
SubjectTypeManager.getSubjectByName(String subjectName)
Returns the Subject object identified by subjectName defined at
the realm
|
boolean |
Policy.isRealmSubject(String subjectName)
Checks if the subjectName is a reference to a Subject
defined at the realm
|
boolean |
Policy.isSubjectExclusive(String subjectName)
Checks if the subject is exclusive.
|
void |
Policy.replaceCondition(String name,
Condition condition)
Replaces an existing condition with the same name by the
current one.
|
void |
PolicyManager.replacePolicy(Policy policy)
Replaces a policy object in the data store with the same policy name
|
void |
Policy.replaceReferral(String name,
Referral referral)
Replaces an existing referral with the same name by the
current one.
|
void |
SubjectTypeManager.replaceSubject(String subjectName,
Subject subject)
Replaces an existing subject with the same name by the
current one at the realm.
|
void |
Policy.replaceSubject(String name,
Subject subject)
Replaces an existing subject with the same name by the
current one.
|
void |
Policy.replaceSubject(String name,
Subject subject,
boolean exclusive)
Replaces an existing subject with the same name by the
current one.
|
void |
Policy.store(SSOToken token,
String name)
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)
Constructor to create a
PolicyEvaluator given the
ServiceType name. |
PolicyManager(SSOToken token,
String name)
Constructor for
PolicyManager for the
specified organization, sub organization or a container object. |
Rule(String serviceName,
Map actions)
Constructor to create a rule object with the
service name and actions.
|
Rule(String serviceName,
String resourceName,
Map actions)
Constructor to create a rule object with the
service name, resource name and actions.
|
Rule(String ruleName,
String serviceName,
String resourceName,
Map actions)
Constructor to create a rule object with rule name,
service name, resource name and actions.
|
Modifier and Type | Method and Description |
---|---|
String |
Subject.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
String |
Referral.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
Copyright © 2010-2013, ForgeRock All Rights Reserved.