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 |
---|---|
void |
Policy.addCondition(String name,
Condition condition)
Deprecated.
Adds a new policy condition.
|
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 |
Policy.addReferral(String name,
Referral referral)
Deprecated.
Adds a new policy referral.
|
void |
Policy.addRule(Rule rule)
Deprecated.
Adds a new policy rule.
|
void |
SubjectTypeManager.addSubject(String subjectName,
Subject subject)
Deprecated.
Adds a policy subject at realm.
|
void |
Policy.addSubject(String name,
Subject subject)
Deprecated.
Adds a new policy subject.
|
void |
Policy.addSubject(String name,
Subject subject,
boolean exclusive)
Deprecated.
Adds a new policy subject.
|
ActionSchema |
ServiceType.getActionSchema(String actionName)
Returns the schema associated with the action name.
|
Policy |
PolicyManager.getPolicy(String policyName)
Deprecated.
Gets the policy object given the name of the policy.
|
void |
Policy.replaceRule(Rule rule)
Deprecated.
Replaces an existing rule with the same name by the
current one.
|
void |
Rule.setActionValues(Map actionValues)
Deprecated.
Sets the action names and their corresponding actions values
(or permissions) for the resource or the service.
|
void |
Policy.setDescription(String description)
Deprecated.
Sets the description for the policy.
|
void |
Rule.setName(String ruleName)
Deprecated.
Sets the name for the rule.
|
void |
Policy.setName(String policyName)
Deprecated.
Sets the name of the policy.
|
boolean |
ServiceType.validateActionValues(Map actionValues)
Returns
true if the action names and its values
in the given Map are valid and satisfy the schema
for the respective action names. |
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.
|
Policy(String policyName)
Deprecated.
Constructs a policy given the policy name.
|
Policy(String policyName,
String description)
Deprecated.
Constructs a policy given the policy name and description.
|
Policy(String policyName,
String description,
boolean referralPolicy)
Deprecated.
Constructs a policy given the policy name,description and a
referralPolicy flag.
|
Policy(String policyName,
String description,
boolean referralPolicy,
boolean active)
Deprecated.
Constructs a policy given the policy name , description,
referralPolicy flag, and active flag
|
Referrals(PolicyManager pm,
Node referralsNode)
Constructor used by
Policy to obtain
an instance of Referrals 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 |
---|---|
void |
Referral.setValues(Set values)
Deprecated.
Sets the values of this referral
|
void |
Subject.setValues(Set names)
Deprecated.
Sets the names for the instance of the
Subject
object. |
Modifier and Type | Method and Description |
---|---|
void |
WebServicesClients.setValues(Set names)
Sets the selected web services clients for this subject.
|
void |
AMIdentitySubject.setValues(Set names)
Deprecated.
Sets the values identifying
AMIdentity objects on which
membership would be checked |
void |
Organization.setValues(Set names)
Sets the names for the instance of the
Organization
object. |
void |
DSAMERole.setValues(Set names)
Sets the names for the instance of the
Subject
object. |
void |
LDAPRoles.setValues(Set names)
Sets the names for the instance of the
LDAPRoles
object. |
void |
LDAPUsers.setValues(Set names)
Sets the names for the instance of the
LDAPUsers
object. |
void |
LDAPGroups.setValues(Set names)
Sets the names for the instance of the
LDAPGroups
object. |
void |
OrgReferral.setValues(Set values)
Sets the values of this referral.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.