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.plugins |
Modifier and Type | Method and Description |
---|---|
Set |
Rule.getActionValues(String actionName)
Deprecated.
Returns a set of action values that have been set for the
specified action name.
|
Condition |
ConditionTypeManager.getCondition(String conditionType)
Deprecated.
Returns an instance of the
Condition
given the condition type name. |
Condition |
Conditions.getCondition(String conditionName)
Returns the
Condition object associated
with the given condition name. |
Condition |
Policy.getCondition(String condition)
Deprecated.
Gets the condition object identified by name.
|
Policy |
PolicyManager.getPolicy(String policyName)
Deprecated.
Gets the policy object given the name of the policy.
|
PolicyDecision |
Policy.getPolicyDecision(SSOToken token,
String resourceTypeName,
String resourceName,
Set actionNames,
Map envParameters)
Deprecated.
Gets policy decision
|
String |
PolicyManager.getPolicyDN(String policyName)
Deprecated.
Gets the LDAP DN (distinguished name) for the named policy
|
ProxyPolicyEvaluator |
ProxyPolicyEvaluatorFactory.getProxyPolicyEvaluator(SSOToken token,
String serviceType)
Deprecated.
Gets an instance of
ProxyPolicyEvaluator . |
Referral |
Referrals.getReferral(String referralName)
Returns the
Referral object associated
with the given referral name. |
Referral |
ReferralTypeManager.getReferral(String referralType)
Deprecated.
Returns an instance of the
Referral
given the referral type name. |
Referral |
Policy.getReferral(String referralName)
Deprecated.
Gets the Referral object identified by name.
|
ResponseProvider |
ResponseProviders.getResponseProvider(String responseProviderName)
Returns the
ResponseProvider object associated
with the given responseProvider name. |
ResponseProvider |
ResponseProviderTypeManager.getResponseProvider(String responseProviderTypeName)
Deprecated.
Returns an instance of the
ResponseProvider
given the response provider type name. |
ResponseProvider |
Policy.getResponseProvider(String respProvider)
Deprecated.
Gets the
ResponseProvider object identified by name. |
Rule |
Policy.getRule(String ruleName)
Deprecated.
Gets the rule object identified by name.
|
ServiceType |
ServiceTypeManager.getServiceType(String serviceTypeName)
Returns a
ServiceType object for the given
service name. |
Subject |
Subjects.getSubject(String subjectName)
Returns the
Subject object associated
with the given subject name. |
Subject |
SubjectTypeManager.getSubject(String subjectType)
Deprecated.
Returns an instance of the
Subject given the subject type
name. |
Subject |
Policy.getSubject(String subjectName)
Deprecated.
Gets the Subject object identified by name.
|
Subject |
SubjectTypeManager.getSubjectByName(String subjectName)
Deprecated.
Returns the Subject object identified by subjectName defined at
the realm
|
boolean |
Subjects.isRealmSubject(String subjectName)
Checks if the subject is a reference to a
Subject
defined at the realm. |
boolean |
Policy.isRealmSubject(String subjectName)
Deprecated.
Checks if the subjectName is a reference to a Subject
defined at the realm
|
boolean |
Subjects.isSubjectExclusive(String subjectName)
Checks if the subject is exclusive.
|
boolean |
Policy.isSubjectExclusive(String subjectName)
Deprecated.
Checks if the subject is exclusive.
|
void |
Conditions.replaceCondition(String conditionName,
Condition condition)
Replaces an existing condition object having the same name
with the new one.
|
void |
Policy.replaceCondition(String name,
Condition condition)
Deprecated.
Replaces an existing condition with the same name by the
current one.
|
void |
PolicyManager.replacePolicy(Policy policy)
Deprecated.
Replaces a policy object in the data store with the same policy name
|
void |
Referrals.replaceReferral(String referralName,
Referral referral)
Replaces an existing referral object having the same name
with the new one.
|
void |
Policy.replaceReferral(String name,
Referral referral)
Deprecated.
Replaces an existing referral with the same name by the
current one.
|
void |
ResponseProviders.replaceResponseProvider(String responseProviderName,
ResponseProvider responseProvider)
Replaces an existing responseProvider object having the same name
with the new one.
|
void |
Policy.replaceResponseProvider(String name,
ResponseProvider respProvider)
Deprecated.
Replaces an existing
ResponseProvider with the same name
by the current one. |
void |
Subjects.replaceSubject(String subjectName,
Subject subject)
Replaces an existing subject object having the same name
with the new one.
|
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.replaceSubject(String name,
Subject subject)
Deprecated.
Replaces an existing subject with the same name by the
current one.
|
void |
Subjects.replaceSubject(String subjectName,
Subject subject,
boolean exclusive)
Replaces an existing subject object having the same name
with the new one.
|
void |
Policy.replaceSubject(String name,
Subject subject,
boolean exclusive)
Deprecated.
Replaces an existing subject with the same name by the
current one.
|
String[] |
ResourceManager.splitResourceName(String serviceTypeName,
String resourceName)
Returns the resource prefix (super-resource) and the rest of the
resource name (sub-resource)
|
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 |
---|
Conditions(ConditionTypeManager ctm,
Node conditionsNode)
Constructor used by
Policy to obtain
an instance of Conditions from W3C DOM
representation of the object. |
Policy(PolicyManager pm,
Node policyNode)
Deprecated.
Constructs a policy given the Policy Node.
|
PolicyEvaluator(String serviceTypeName)
Deprecated.
Constructor to create a
PolicyEvaluator given the
ServiceType name. |
PolicyEvaluator(String orgName,
String serviceTypeName)
Deprecated.
Constructor to create a
PolicyEvaluator given organization
name and the ServiceType name. |
PolicyManager(SSOToken token,
String name)
Deprecated.
Constructor for
PolicyManager for the
specified organization, sub organization or a container object. |
Referrals(PolicyManager pm,
Node referralsNode)
Constructor used by
Policy to obtain
an instance of Referrals from the
XML document |
ResponseProviders(ResponseProviderTypeManager rpm,
Node responseProvidersNode)
Constructor used by
Policy to obtain
an instance of ResponseProviders from the
XML document |
Rule(Node ruleNode)
Deprecated.
Constructor to create a
Rule object from a XML Node. |
Rule(String serviceName,
Map actions)
Deprecated.
Constructor to create a rule object with the
service name and actions.
|
Rule(String serviceName,
String resourceName,
Map actions)
Deprecated.
Constructor to create a rule object with the
service name, resource name and actions.
|
Rule(String ruleName,
String serviceName,
String resourceName,
Map actions)
Deprecated.
Constructor to create a rule object with rule name,
service name, resource name and actions.
|
Subjects(PolicyManager pm,
Node usersNode)
Constructor used by
Policy to obtain
an instance of Subjects from the
XML document |
Modifier and Type | Method and Description |
---|---|
String |
Referral.getDisplayNameForValue(String value,
Locale locale)
Deprecated.
Returns the display name for the value for the given locale.
|
String |
Subject.getDisplayNameForValue(String value,
Locale locale)
Deprecated.
Returns the display name for the value for the given locale.
|
Modifier and Type | Method and Description |
---|---|
String |
AMIdentitySubject.getDisplayNameForValue(String value,
Locale locale)
Deprecated.
Returns the display name for the value for the given locale.
|
String |
Organization.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
String |
DSAMERole.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
String |
LDAPRoles.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
String |
LDAPUsers.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
String |
LDAPGroups.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
String |
OrgReferral.getDisplayNameForValue(String value,
Locale locale)
Returns the display name for the value for the given locale.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.