|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyStoreMBean
Provides a set of methods for managing policies in a policy store. An Authorization-provider or Role Mapping-provider MBean can optionally implement this MBean interface. Policies are expressed as XACML 2.0 Policy or PolicySet documents.
Authorization-providers should expect standard Policy
or PolicySet
documents as described in the XACML 2.0 Core Specification.
Role Mapping-providers should expect Policy
or PolicySet
documents consistent with role assignment policies described by the Role Based Access Control Profile, specifically the Target
must contain:
Field Summary | |
---|---|
static String |
ACTIVE Indicates active for evaluation status. |
static String |
BYREFERENCE Indicates active for evaluation when referenced by active policy set status. |
static String |
DOCUMENT Properties key for Policy or PolicySet document. |
static String |
ID Properties key for Policy or PolicySet document identifier as java.lang.String. |
static String |
INACTIVE Indicates inactive for evaluation status. |
static String |
STATUS Properties key for evaluation status as java.lang.String. |
static String |
VERSION Properties key for Policy or PolicySet document version as java.lang.String. |
Method Summary | |
---|---|
abstract void |
addPolicy(Policy policy) Adds policy. |
abstract void |
addPolicy(Policy policy, String status) Adds policy |
abstract void |
addPolicy(String policy) Adds policy. |
abstract void |
addPolicy(String policy, String status) Adds policy |
abstract void |
addPolicySet(PolicySet set) Adds policy set. |
abstract void |
addPolicySet(PolicySet set, String status) Adds policy set. |
abstract void |
addPolicySet(String set) Adds policy set. |
abstract void |
addPolicySet(String set, String status) Adds policy set. |
abstract void |
deletePolicy(String identifier, String version) Deletes policy with given identifier and version. |
abstract void |
deletePolicySet(String identifier, String version) Deletes policy set with given identifier and version. |
abstract String |
getPolicySetStatus(String identifier, String version) Returns status for policy set identified by identifier and version |
abstract String |
getPolicyStatus(String identifier, String version) Returns status for policy identified by identifier and version |
abstract String |
listAllPolicies() Returns cursor listing all policies |
abstract String |
listAllPoliciesAsString() Returns cursor listing all policies. |
abstract String |
listAllPolicySets() Returns cursor listing all policy sets |
abstract String |
listAllPolicySetsAsString() Returns cursor listing all policy sets. |
abstract void |
modifyPolicy(Policy policy) Updates policy. |
abstract void |
modifyPolicy(Policy policy, String status) Updates policy and status. |
abstract void |
modifyPolicy(String policy) Updates policy. |
abstract void |
modifyPolicy(String policy, String status) Updates policy and status. |
abstract void |
modifyPolicySet(PolicySet set) Updates policy set. |
abstract void |
modifyPolicySet(PolicySet set, String status) Updates policy set and status. |
abstract void |
modifyPolicySet(String set) Updates policy set. |
abstract void |
modifyPolicySet(String set, String status) Updates policy set and status. |
abstract void |
modifyPolicySetStatus(String identifier, String version, String status) Sets status for policy set identified by identifier and version |
abstract void |
modifyPolicyStatus(String identifier, String version, String status) Sets status for policy identified by identifier and version |
abstract Policy |
readPolicy(String identifier, String version) Reads policy with specified identifier and version |
abstract String |
readPolicyAsString(String identifier, String version) Reads policy with specified identifier and version |
abstract PolicySet |
readPolicySet(String identifier, String version) Reads policy set with specified identifier and version |
abstract String |
readPolicySetAsString(String identifier, String version) Reads policy set with specified identifier and version |
Methods inherited from interface weblogic.management.utils.PropertiesListerMBean |
---|
getCurrentProperties |
Methods inherited from interface weblogic.management.utils.ListerMBean |
---|
advance, close, haveCurrent |
Methods inherited from interface weblogic.management.commo.StandardInterface |
---|
getName |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Field Detail |
---|
static final String ACTIVE
static final String BYREFERENCE
static final String INACTIVE
static final String DOCUMENT
static final String ID
static final String VERSION
static final String STATUS
Method Detail |
---|
String listAllPolicies() throws NotFoundException
NotFoundException
- Thrown if no policies are foundString listAllPoliciesAsString() throws NotFoundException
NotFoundException
- Thrown if no policies are foundString listAllPolicySets() throws NotFoundException
NotFoundException
- Thrown if no policy sets are foundString listAllPolicySetsAsString() throws NotFoundException
NotFoundException
- Thrown if no policy sets are foundPolicy readPolicy(String identifier, String version) throws NotFoundException
identifier
- Policy identifierversion
- Policy versionNotFoundException
- Thrown if matching policy is not foundString readPolicyAsString(String identifier, String version) throws NotFoundException
identifier
- Policy identifierversion
- Policy versionNotFoundException
- Thrown if matching policy is not foundPolicySet readPolicySet(String identifier, String version) throws NotFoundException
identifier
- Policy set identifierversion
- Policy set versionNotFoundException
- Thrown if matching policy set is not foundString readPolicySetAsString(String identifier, String version) throws NotFoundException
identifier
- Policy set identifierversion
- Policy set versionNotFoundException
- Thrown if matching policy set is not foundvoid addPolicy(Policy policy) throws CreateException, AlreadyExistsException
policy
- Policy documentCreateException
- Thrown if policy is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy id and version already present in storevoid addPolicy(String policy) throws CreateException, AlreadyExistsException
policy
- Policy documentCreateException
- Thrown if policy is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy id and version already present in storevoid addPolicy(Policy policy, String status) throws CreateException, AlreadyExistsException
policy
- Policy documentstatus
- Policy statusCreateException
- Thrown if policy is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy id and version already present in storevoid addPolicy(String policy, String status) throws CreateException, AlreadyExistsException
policy
- Policy documentstatus
- Policy statusCreateException
- Thrown if policy is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy id and version already present in storevoid addPolicySet(PolicySet set) throws CreateException, AlreadyExistsException
set
- Policy set documentCreateException
- Thrown if policy set is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy set id and version already present in storevoid addPolicySet(String set) throws CreateException, AlreadyExistsException
set
- Policy set documentCreateException
- Thrown if policy set is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy set id and version already present in storevoid addPolicySet(PolicySet set, String status) throws CreateException, AlreadyExistsException
set
- Policy set documentstatus
- Policy status enumerationCreateException
- Thrown if policy set is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy set id and version already present in storevoid addPolicySet(String set, String status) throws CreateException, AlreadyExistsException
set
- Policy set documentstatus
- Policy status enumerationCreateException
- Thrown if policy set is invalid or store cannot be updatedAlreadyExistsException
- Thrown if matching policy set id and version already present in storevoid modifyPolicy(Policy policy) throws CreateException, NotFoundException
policy
- Policy documentCreateException
- Thrown if policy is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy id and version not present in storevoid modifyPolicy(String policy) throws CreateException, NotFoundException
policy
- Policy documentCreateException
- Thrown if policy is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy id and version not present in storevoid modifyPolicy(Policy policy, String status) throws CreateException, NotFoundException
policy
- Policy documentstatus
- Policy status enumerationCreateException
- Thrown if policy is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy id and version not present in storevoid modifyPolicy(String policy, String status) throws CreateException, NotFoundException
policy
- Policy documentstatus
- Policy status enumerationCreateException
- Thrown if policy is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy id and version not present in storevoid modifyPolicySet(PolicySet set) throws CreateException, NotFoundException
set
- Policy set documentCreateException
- Thrown if policy set is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy set id and version not present in storevoid modifyPolicySet(String set) throws CreateException, NotFoundException
set
- Policy set documentCreateException
- Thrown if policy set is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy set id and version not present in storevoid modifyPolicySet(PolicySet set, String status) throws CreateException, NotFoundException
set
- Policy set documentstatus
- Policy status enumerationCreateException
- Thrown if policy set is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy set id and version not present in storevoid modifyPolicySet(String set, String status) throws CreateException, NotFoundException
set
- Policy set documentstatus
- Policy status enumerationCreateException
- Thrown if policy set is invalid or store cannot be updatedNotFoundException
- Thrown if matching policy set id and version not present in storevoid modifyPolicyStatus(String identifier, String version, String status) throws CreateException, NotFoundException
identifier
- Policy identifierversion
- Policy versionstatus
- Policy status enumerationCreateException
- Thrown if store cannot be updatedNotFoundException
- Thrown if matching policy id and version not present in storeString getPolicyStatus(String identifier, String version) throws NotFoundException
identifier
- Policy identifierversion
- Policy versionNotFoundExeption
- Thrown if matching policy id and version not present in storeNotFoundException
void modifyPolicySetStatus(String identifier, String version, String status) throws CreateException, NotFoundException
identifier
- Policy set identifierversion
- Policy set versionstatus
- Policy status enumerationCreateException
- Thrown if store cannot be updatedNotFoundException
- Thrown if matching policy set id and version not present in storeString getPolicySetStatus(String identifier, String version) throws NotFoundException
identifier
- Policy set identifierversion
- Policy set versionNotFoundExeption
- Thrown if matching policy set id and version not present in storeNotFoundException
void deletePolicy(String identifier, String version) throws NotFoundException, RemoveException
identifier
- Policy identifierversion
- Policy versionNotFoundException
- Thrown if matching policy id and version not present in storeRemoveException
- Thrown if store cannot be updatedvoid deletePolicySet(String identifier, String version) throws NotFoundException, RemoveException
identifier
- Policy set identifierversion
- Policy set versionNotFoundException
- Thrown if matching policy set id and version not present in storeRemoveException
- Thrown if store cannot be updated
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |