|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
| 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 | |
|---|---|
void |
addPolicy(Policy policy)
Adds policy. |
void |
addPolicy(Policy policy,
String status)
Adds policy |
void |
addPolicy(String policy)
Adds policy. |
void |
addPolicy(String policy,
String status)
Adds policy |
void |
addPolicySet(PolicySet set)
Adds policy set. |
void |
addPolicySet(PolicySet set,
String status)
Adds policy set. |
void |
addPolicySet(String set)
Adds policy set. |
void |
addPolicySet(String set,
String status)
Adds policy set. |
void |
deletePolicy(String identifier,
String version)
Deletes policy with given identifier and version. |
void |
deletePolicySet(String identifier,
String version)
Deletes policy set with given identifier and version. |
String |
getPolicySetStatus(String identifier,
String version)
Returns status for policy set identified by identifier and version |
String |
getPolicyStatus(String identifier,
String version)
Returns status for policy identified by identifier and version |
String |
listAllPolicies()
Returns cursor listing all policies |
String |
listAllPoliciesAsString()
Returns cursor listing all policies. |
String |
listAllPolicySets()
Returns cursor listing all policy sets |
String |
listAllPolicySetsAsString()
Returns cursor listing all policy sets. |
void |
modifyPolicy(Policy policy)
Updates policy. |
void |
modifyPolicy(Policy policy,
String status)
Updates policy and status. |
void |
modifyPolicy(String policy)
Updates policy. |
void |
modifyPolicy(String policy,
String status)
Updates policy and status. |
void |
modifyPolicySet(PolicySet set)
Updates policy set. |
void |
modifyPolicySet(PolicySet set,
String status)
Updates policy set and status. |
void |
modifyPolicySet(String set)
Updates policy set. |
void |
modifyPolicySet(String set,
String status)
Updates policy set and status. |
void |
modifyPolicySetStatus(String identifier,
String version,
String status)
Sets status for policy set identified by identifier and version |
void |
modifyPolicyStatus(String identifier,
String version,
String status)
Sets status for policy identified by identifier and version |
Policy |
readPolicy(String identifier,
String version)
Reads policy with specified identifier and version |
String |
readPolicyAsString(String identifier,
String version)
Reads policy with specified identifier and version |
PolicySet |
readPolicySet(String identifier,
String version)
Reads policy set with specified identifier and version |
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 |
| Methods inherited from interface weblogic.descriptor.SettableBean |
|---|
isSet, unSet |
| 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 found
String listAllPoliciesAsString()
throws NotFoundException
NotFoundException - Thrown if no policies are found
String listAllPolicySets()
throws NotFoundException
NotFoundException - Thrown if no policy sets are found
String listAllPolicySetsAsString()
throws NotFoundException
NotFoundException - Thrown if no policy sets are found
Policy readPolicy(String identifier,
String version)
throws NotFoundException
identifier - Policy identifierversion - Policy version
NotFoundException - Thrown if matching policy is not found
String readPolicyAsString(String identifier,
String version)
throws NotFoundException
identifier - Policy identifierversion - Policy version
NotFoundException - Thrown if matching policy is not found
PolicySet readPolicySet(String identifier,
String version)
throws NotFoundException
identifier - Policy set identifierversion - Policy set version
NotFoundException - Thrown if matching policy set is not found
String readPolicySetAsString(String identifier,
String version)
throws NotFoundException
identifier - Policy set identifierversion - Policy set version
NotFoundException - Thrown if matching policy set is not found
void addPolicy(Policy policy)
throws CreateException,
AlreadyExistsException
policy - Policy document
CreateException - Thrown if policy is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy id and version already present in store
void addPolicy(String policy)
throws CreateException,
AlreadyExistsException
policy - Policy document
CreateException - Thrown if policy is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy id and version already present in store
void addPolicy(Policy policy,
String status)
throws CreateException,
AlreadyExistsException
policy - Policy documentstatus - Policy status
CreateException - Thrown if policy is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy id and version already present in store
void addPolicy(String policy,
String status)
throws CreateException,
AlreadyExistsException
policy - Policy documentstatus - Policy status
CreateException - Thrown if policy is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy id and version already present in store
void addPolicySet(PolicySet set)
throws CreateException,
AlreadyExistsException
set - Policy set document
CreateException - Thrown if policy set is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy set id and version already present in store
void addPolicySet(String set)
throws CreateException,
AlreadyExistsException
set - Policy set document
CreateException - Thrown if policy set is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy set id and version already present in store
void addPolicySet(PolicySet set,
String status)
throws CreateException,
AlreadyExistsException
set - Policy set documentstatus - Policy status enumeration
CreateException - Thrown if policy set is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy set id and version already present in store
void addPolicySet(String set,
String status)
throws CreateException,
AlreadyExistsException
set - Policy set documentstatus - Policy status enumeration
CreateException - Thrown if policy set is invalid or store cannot be updated
AlreadyExistsException - Thrown if matching policy set id and version already present in store
void modifyPolicy(Policy policy)
throws CreateException,
NotFoundException
policy - Policy document
CreateException - Thrown if policy is invalid or store cannot be updated
NotFoundException - Thrown if matching policy id and version not present in store
void modifyPolicy(String policy)
throws CreateException,
NotFoundException
policy - Policy document
CreateException - Thrown if policy is invalid or store cannot be updated
NotFoundException - Thrown if matching policy id and version not present in store
void modifyPolicy(Policy policy,
String status)
throws CreateException,
NotFoundException
policy - Policy documentstatus - Policy status enumeration
CreateException - Thrown if policy is invalid or store cannot be updated
NotFoundException - Thrown if matching policy id and version not present in store
void modifyPolicy(String policy,
String status)
throws CreateException,
NotFoundException
policy - Policy documentstatus - Policy status enumeration
CreateException - Thrown if policy is invalid or store cannot be updated
NotFoundException - Thrown if matching policy id and version not present in store
void modifyPolicySet(PolicySet set)
throws CreateException,
NotFoundException
set - Policy set document
CreateException - Thrown if policy set is invalid or store cannot be updated
NotFoundException - Thrown if matching policy set id and version not present in store
void modifyPolicySet(String set)
throws CreateException,
NotFoundException
set - Policy set document
CreateException - Thrown if policy set is invalid or store cannot be updated
NotFoundException - Thrown if matching policy set id and version not present in store
void modifyPolicySet(PolicySet set,
String status)
throws CreateException,
NotFoundException
set - Policy set documentstatus - Policy status enumeration
CreateException - Thrown if policy set is invalid or store cannot be updated
NotFoundException - Thrown if matching policy set id and version not present in store
void modifyPolicySet(String set,
String status)
throws CreateException,
NotFoundException
set - Policy set documentstatus - Policy status enumeration
CreateException - Thrown if policy set is invalid or store cannot be updated
NotFoundException - Thrown if matching policy set id and version not present in store
void modifyPolicyStatus(String identifier,
String version,
String status)
throws CreateException,
NotFoundException
identifier - Policy identifierversion - Policy versionstatus - Policy status enumeration
CreateException - Thrown if store cannot be updated
NotFoundException - Thrown if matching policy id and version not present in store
String getPolicyStatus(String identifier,
String version)
throws NotFoundException
identifier - Policy identifierversion - Policy version
NotFoundExeption - Thrown if matching policy id and version not present in store
NotFoundException
void modifyPolicySetStatus(String identifier,
String version,
String status)
throws CreateException,
NotFoundException
identifier - Policy set identifierversion - Policy set versionstatus - Policy status enumeration
CreateException - Thrown if store cannot be updated
NotFoundException - Thrown if matching policy set id and version not present in store
String getPolicySetStatus(String identifier,
String version)
throws NotFoundException
identifier - Policy set identifierversion - Policy set version
NotFoundExeption - Thrown if matching policy set id and version not present in store
NotFoundException
void deletePolicy(String identifier,
String version)
throws NotFoundException,
RemoveException
identifier - Policy identifierversion - Policy version
NotFoundException - Thrown if matching policy id and version not present in store
RemoveException - Thrown if store cannot be updated
void deletePolicySet(String identifier,
String version)
throws NotFoundException,
RemoveException
identifier - Policy set identifierversion - Policy set version
NotFoundException - Thrown if matching policy set id and version not present in store
RemoveException - Thrown if store cannot be updated
|
Copyright 1996, 2013, 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.1.2) Part Number E27170-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||