Package | Description |
---|---|
com.sun.identity.entitlement |
Defines classes and interfaces to work with entitlements.
|
com.sun.identity.entitlement.opensso | |
com.sun.identity.entitlement.xacml3 | |
com.sun.identity.entitlement.xacml3.validation |
A package to contain various validation based logic and utility classes for the
Privilege framework.
|
org.forgerock.openam.entitlement.rest |
REST (CREST) endpoint for managing entitlements policies and evaluating policy decisions.
|
org.forgerock.openam.entitlement.rest.model.json |
Data model for the entitlements resource.
|
org.forgerock.openam.xacml.v3 |
Modifier and Type | Method and Description |
---|---|
abstract Privilege |
PrivilegeManager.findByName(String name,
Subject subject)
Returns a privilege.
|
static Privilege |
Privilege.getInstance(org.json.JSONObject jo) |
static Privilege |
Privilege.getNewInstance()
Returns entitlement privilege.
|
static Privilege |
Privilege.getNewInstance(org.json.JSONObject jo) |
static Privilege |
Privilege.getNewInstance(String jo) |
Modifier and Type | Method and Description |
---|---|
abstract List<Privilege> |
PrivilegeIndexStore.findAllPolicies()
Finds all policies within the passed realm.
|
abstract List<Privilege> |
PrivilegeManager.findAllPolicies()
Finds all policies within the realm.
|
abstract List<Privilege> |
PrivilegeIndexStore.findAllPoliciesByApplication(String application)
Finds all policies within the passed realm and application.
|
abstract List<Privilege> |
PrivilegeManager.findAllPoliciesByApplication(String application)
Finds all policies within the realm and passed application.
|
abstract List<Privilege> |
PrivilegeIndexStore.findAllPoliciesByIdentityUid(String uid)
Finds all policies based on the identity uid, whether user or group uid.
|
abstract List<Privilege> |
PrivilegeManager.findAllPoliciesByIdentityUid(String uid)
Finds all policies based on the identity uid, whether user or group uid.
|
List<Privilege> |
PrivilegeManager.search(Set<SearchFilter> filter)
Returns a set of privileges that match the given search criteria with no size or time limits.
|
List<Privilege> |
PrivilegeManager.search(Set<SearchFilter> filter,
int searchSizeLimit,
int searchTimeLimit)
Returns a set of privileges that match the given search criteria.
|
Modifier and Type | Method and Description |
---|---|
void |
PrivilegeManager.add(Privilege privilege)
Add a privilege.
|
abstract void |
PolicyDataStore.addPolicy(Subject subject,
String realm,
Privilege privilege)
Adds policy.
|
static Set<String> |
SubjectAttributesManager.getRequiredAttributeNames(Privilege privilege)
Returns the required attribute name for a given privilege.
|
static Set<String> |
SubjectAttributesManager.getSubjectSearchIndexes(Privilege privilege)
Returns the subject search indexes for a given privilege.
|
abstract boolean |
ApplicationPrivilegeManager.hasPrivilege(Privilege p,
ApplicationPrivilege.Action action)
Returns
true if the subject has permission to a
privilege of a given action. |
abstract void |
PrivilegeManager.modify(String existingName,
Privilege privilege)
Modifies the specified policy.
|
protected abstract void |
PrivilegeManager.notifyPrivilegeChanged(String realm,
Privilege previous,
Privilege current,
PolicyEventType eventType) |
abstract void |
PolicyDataStore.removePrivilege(Subject subject,
String realm,
Privilege privilege)
Removes policy.
|
protected void |
PrivilegeManager.validate(Privilege privilege)
Validates the passed policy.
|
Modifier and Type | Class and Description |
---|---|
class |
OpenSSOPrivilege |
class |
XACMLOpenSSOPrivilege |
Modifier and Type | Method and Description |
---|---|
Privilege |
PolicyPrivilegeManager.findByName(String name)
Finds a privilege by its unique name.
|
Privilege |
PolicyPrivilegeManager.findByName(String privilegeName,
Subject adminSubject) |
Modifier and Type | Method and Description |
---|---|
List<Privilege> |
OpenSSOIndexStore.findAllPolicies() |
List<Privilege> |
PolicyPrivilegeManager.findAllPolicies() |
List<Privilege> |
OpenSSOIndexStore.findAllPoliciesByApplication(String application) |
List<Privilege> |
PolicyPrivilegeManager.findAllPoliciesByApplication(String application) |
List<Privilege> |
OpenSSOIndexStore.findAllPoliciesByIdentityUid(String uid) |
List<Privilege> |
PolicyPrivilegeManager.findAllPoliciesByIdentityUid(String uid) |
Modifier and Type | Method and Description |
---|---|
void |
PolicyPrivilegeManager.add(Privilege privilege)
Add a privilege.
|
String |
DataStore.add(Subject adminSubject,
String realm,
Privilege p)
Adds a privilege.
|
void |
OpenSSOPolicyDataStore.addPolicy(Subject subject,
String realm,
Privilege privilege) |
boolean |
OpenSSOApplicationPrivilegeManager.hasPrivilege(Privilege p,
ApplicationPrivilege.Action action) |
void |
PolicyPrivilegeManager.modify(Privilege privilege)
Modify a privilege.
|
void |
PolicyPrivilegeManager.modify(String existingName,
Privilege privilege)
Modify a privilege.
|
protected void |
PolicyPrivilegeManager.notifyPrivilegeChanged(String realm,
Privilege previous,
Privilege current,
PolicyEventType eventType) |
static Policy |
PrivilegeUtils.privilegeToPolicy(String realm,
Privilege privilege) |
static Object |
PrivilegeUtils.privilegeToPolicyObject(String realm,
Privilege privilege) |
void |
OpenSSOPolicyDataStore.removePrivilege(Subject subject,
String realm,
Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
static Privilege |
XACMLPrivilegeUtils.policyToPrivilege(Policy policy) |
Modifier and Type | Method and Description |
---|---|
List<Privilege> |
PrivilegeSet.getPrivileges()
Obtain list of Privilege objects held by this class.
|
static Set<Privilege> |
XACMLPrivilegeUtils.policySetToPrivileges(PolicySet policySet) |
Modifier and Type | Method and Description |
---|---|
void |
PrivilegeSet.addPrivilege(Privilege privilege)
Adds privilege to this set.
|
static Policy |
XACMLPrivilegeUtils.privilegeToPolicy(Privilege privilege) |
static String |
XACMLPrivilegeUtils.toXACML(Privilege privilege) |
static void |
XACMLPrivilegeUtils.validate(Privilege privilege,
PrivilegeValidator privilegeValidator)
Validates the privilege instance.
|
Modifier and Type | Method and Description |
---|---|
static PolicySet |
XACMLPrivilegeUtils.privilegesToPolicySet(String realm,
Collection<Privilege> privileges) |
Modifier and Type | Method and Description |
---|---|
void |
PrivilegeValidator.validatePrivilege(Privilege privilege)
Apply validation logic to a Privilege.
|
Modifier and Type | Method and Description |
---|---|
Privilege |
PolicyStore.create(Privilege policy)
Creates the given policy in the underlying store.
|
Privilege |
PolicyParser.parsePolicy(String id,
org.forgerock.json.JsonValue representation)
Parses the given JSON policy representation into an entitlements policy (privilege).
|
Privilege |
JsonPolicyParser.parsePolicy(String name,
org.forgerock.json.JsonValue json) |
Privilege |
PolicyStore.read(String policyName)
Reads the given named policy from the policy store.
|
Privilege |
PolicyStore.update(String existingName,
Privilege policy)
Updates the given policy to match the new definition.
|
Modifier and Type | Method and Description |
---|---|
List<Privilege> |
PolicyStore.query(org.forgerock.json.resource.QueryRequest request)
Queries the store for a set of policies that match the given query.
|
Modifier and Type | Method and Description |
---|---|
Privilege |
PolicyStore.create(Privilege policy)
Creates the given policy in the underlying store.
|
org.forgerock.json.JsonValue |
PolicyParser.printPolicy(Privilege policy)
Converts an entitlements policy back to the JSON serialisation representation.
|
org.forgerock.json.JsonValue |
JsonPolicyParser.printPolicy(Privilege policy) |
Privilege |
PolicyStore.update(String existingName,
Privilege policy)
Updates the given policy to match the new definition.
|
Modifier and Type | Method and Description |
---|---|
Privilege |
JsonPolicy.asPrivilege()
Returns the underlying privilege instance that this JsonPolicy is wrapping.
|
Constructor and Description |
---|
JsonPolicy(Privilege privilege)
Constructs a JSON wrapper policy using the given privilege object as the underlying policy implementation.
|
Modifier and Type | Method and Description |
---|---|
List<PersistableImportStep<Privilege>> |
ImportStepGenerator.getImportStepsPrivilege()
Returns the Privilege Import Steps generated by this instance.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.