Uses of Class
com.sun.identity.entitlement.Privilege
-
Packages that use Privilege 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 -
-
Uses of Privilege in com.sun.identity.entitlement
Methods in com.sun.identity.entitlement that return Privilege Modifier and Type Method Description abstract PrivilegePrivilegeManager. findByName(String name, Subject subject)Returns a privilege.static PrivilegePrivilege. getInstance(org.json.JSONObject jo)static PrivilegePrivilege. getNewInstance()Returns entitlement privilege.static PrivilegePrivilege. getNewInstance(String jo)static PrivilegePrivilege. getNewInstance(org.json.JSONObject jo)Methods in com.sun.identity.entitlement that return types with arguments of type Privilege Modifier and Type Method 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.Methods in com.sun.identity.entitlement with parameters of type Privilege Modifier and Type Method Description voidPrivilegeManager. add(Privilege privilege)Add a privilege.abstract voidPolicyDataStore. 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 booleanApplicationPrivilegeManager. hasPrivilege(Privilege p, ApplicationPrivilege.Action action)Returnstrueif the subject has permission to a privilege of a given action.abstract voidPrivilegeManager. modify(String existingName, Privilege privilege)Modifies the specified policy.protected abstract voidPrivilegeManager. notifyPrivilegeChanged(String realm, Privilege previous, Privilege current, PolicyEventType eventType)abstract voidPolicyDataStore. removePrivilege(Subject subject, String realm, Privilege privilege)Removes policy.protected voidPrivilegeManager. validate(Privilege privilege)Validates the passed policy. -
Uses of Privilege in com.sun.identity.entitlement.opensso
Subclasses of Privilege in com.sun.identity.entitlement.opensso Modifier and Type Class Description classOpenSSOPrivilegeclassXACMLOpenSSOPrivilegeMethods in com.sun.identity.entitlement.opensso that return Privilege Modifier and Type Method Description PrivilegePolicyPrivilegeManager. findByName(String name)Finds a privilege by its unique name.PrivilegePolicyPrivilegeManager. findByName(String privilegeName, Subject adminSubject)Methods in com.sun.identity.entitlement.opensso that return types with arguments of type Privilege Modifier and Type Method 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)Methods in com.sun.identity.entitlement.opensso with parameters of type Privilege Modifier and Type Method Description StringDataStore. add(Subject adminSubject, String realm, Privilege p)Adds a privilege.voidPolicyPrivilegeManager. add(Privilege privilege)Add a privilege.voidOpenSSOPolicyDataStore. addPolicy(Subject subject, String realm, Privilege privilege)booleanOpenSSOApplicationPrivilegeManager. hasPrivilege(Privilege p, ApplicationPrivilege.Action action)voidPolicyPrivilegeManager. modify(Privilege privilege)Modify a privilege.voidPolicyPrivilegeManager. modify(String existingName, Privilege privilege)Modify a privilege.protected voidPolicyPrivilegeManager. notifyPrivilegeChanged(String realm, Privilege previous, Privilege current, PolicyEventType eventType)static PolicyPrivilegeUtils. privilegeToPolicy(String realm, Privilege privilege)static ObjectPrivilegeUtils. privilegeToPolicyObject(String realm, Privilege privilege)voidOpenSSOPolicyDataStore. removePrivilege(Subject subject, String realm, Privilege privilege) -
Uses of Privilege in com.sun.identity.entitlement.xacml3
Methods in com.sun.identity.entitlement.xacml3 that return Privilege Modifier and Type Method Description static PrivilegeXACMLPrivilegeUtils. policyToPrivilege(Policy policy)Methods in com.sun.identity.entitlement.xacml3 that return types with arguments of type Privilege Modifier and Type Method Description List<Privilege>PrivilegeSet. getPrivileges()Obtain list of Privilege objects held by this class.static Set<Privilege>XACMLPrivilegeUtils. policySetToPrivileges(PolicySet policySet)Methods in com.sun.identity.entitlement.xacml3 with parameters of type Privilege Modifier and Type Method Description voidPrivilegeSet. addPrivilege(Privilege privilege)Adds privilege to this set.static PolicyXACMLPrivilegeUtils. privilegeToPolicy(Privilege privilege)static StringXACMLPrivilegeUtils. toXACML(Privilege privilege)static voidXACMLPrivilegeUtils. validate(Privilege privilege, PrivilegeValidator privilegeValidator)Validates the privilege instance.Method parameters in com.sun.identity.entitlement.xacml3 with type arguments of type Privilege Modifier and Type Method Description static PolicySetXACMLPrivilegeUtils. privilegesToPolicySet(String realm, Collection<Privilege> privileges) -
Uses of Privilege in com.sun.identity.entitlement.xacml3.validation
Methods in com.sun.identity.entitlement.xacml3.validation with parameters of type Privilege Modifier and Type Method Description voidPrivilegeValidator. validatePrivilege(Privilege privilege)Apply validation logic to a Privilege. -
Uses of Privilege in org.forgerock.openam.entitlement.rest
Methods in org.forgerock.openam.entitlement.rest that return Privilege Modifier and Type Method Description PrivilegePolicyStore. create(Privilege policy)Creates the given policy in the underlying store.PrivilegeJsonPolicyParser. parsePolicy(String name, org.forgerock.json.JsonValue json)PrivilegePolicyParser. parsePolicy(String id, org.forgerock.json.JsonValue representation)Parses the given JSON policy representation into an entitlements policy (privilege).PrivilegePolicyStore. read(String policyName)Reads the given named policy from the policy store.PrivilegePolicyStore. update(String existingName, Privilege policy)Updates the given policy to match the new definition.Methods in org.forgerock.openam.entitlement.rest that return types with arguments of type Privilege Modifier and Type Method Description List<Privilege>PolicyStore. query(org.forgerock.json.resource.QueryRequest request)Queries the store for a set of policies that match the given query.Methods in org.forgerock.openam.entitlement.rest with parameters of type Privilege Modifier and Type Method Description PrivilegePolicyStore. create(Privilege policy)Creates the given policy in the underlying store.org.forgerock.json.JsonValueJsonPolicyParser. printPolicy(Privilege policy)org.forgerock.json.JsonValuePolicyParser. printPolicy(Privilege policy)Converts an entitlements policy back to the JSON serialisation representation.PrivilegePolicyStore. update(String existingName, Privilege policy)Updates the given policy to match the new definition. -
Uses of Privilege in org.forgerock.openam.entitlement.rest.model.json
Methods in org.forgerock.openam.entitlement.rest.model.json that return Privilege Modifier and Type Method Description PrivilegeJsonPolicy. asPrivilege()Returns the underlying privilege instance that this JsonPolicy is wrapping.Constructors in org.forgerock.openam.entitlement.rest.model.json with parameters of type Privilege Constructor Description JsonPolicy(Privilege privilege)Constructs a JSON wrapper policy using the given privilege object as the underlying policy implementation. -
Uses of Privilege in org.forgerock.openam.xacml.v3
Methods in org.forgerock.openam.xacml.v3 that return types with arguments of type Privilege Modifier and Type Method Description List<PersistableImportStep<Privilege>>ImportStepGenerator. getImportStepsPrivilege()Returns the Privilege Import Steps generated by this instance.
-