|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)
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:
In addition to being used as
a base class that provides functionality to security provider
MBeans, JMX applications can use this class directly as a type-safe
interface. When used as a type-safe interface, a JMX application
imports this class and accesses it through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, JMX applications that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX"
on http://www.oracle.com/technology/documentation/index.html.
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(com.bea.common.security.xacml.policy.Policy policy)
Adds policy. |
void |
addPolicy(com.bea.common.security.xacml.policy.Policy policy,
String status)
Adds policy |
void |
addPolicy(String policy)
Adds policy. |
void |
addPolicy(String policy,
String status)
Adds policy |
void |
addPolicySet(com.bea.common.security.xacml.policy.PolicySet set)
Adds policy set. |
void |
addPolicySet(com.bea.common.security.xacml.policy.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(com.bea.common.security.xacml.policy.Policy policy)
Updates policy. |
void |
modifyPolicy(com.bea.common.security.xacml.policy.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(com.bea.common.security.xacml.policy.PolicySet set)
Updates policy set. |
void |
modifyPolicySet(com.bea.common.security.xacml.policy.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 |
com.bea.common.security.xacml.policy.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 |
com.bea.common.security.xacml.policy.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, setName, wls_getDisplayName, wls_getInterfaceClassName, wls_getObjectName |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Methods inherited from interface weblogic.descriptor.SettableBean |
isSet, unSet |
Field Detail |
public static final String ACTIVE
public static final String BYREFERENCE
public static final String DOCUMENT
public static final String ID
public static final String INACTIVE
public static final String STATUS
public static final String VERSION
Method Detail |
public void addPolicy(com.bea.common.security.xacml.policy.Policy policy) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
policy
- Policy document
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy id and version already present in storepublic void addPolicy(com.bea.common.security.xacml.policy.Policy policy, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
policy
- Policy documentstatus
- Policy status
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy id and version already present in storepublic void addPolicy(String policy) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
policy
- Policy document
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy id and version already present in storepublic void addPolicy(String policy, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
policy
- Policy documentstatus
- Policy status
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy id and version already present in storepublic void addPolicySet(com.bea.common.security.xacml.policy.PolicySet set) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
set
- Policy set document
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy set id and version already present in storepublic void addPolicySet(com.bea.common.security.xacml.policy.PolicySet set, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
set
- Policy set documentstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy set id and version already present in storepublic void addPolicySet(String set) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
set
- Policy set document
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy set id and version already present in storepublic void addPolicySet(String set, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.AlreadyExistsException
set
- Policy set documentstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.AlreadyExistsException
- Thrown if matching policy set id and version already present in storepublic void deletePolicy(String identifier, String version) throws weblogic.management.utils.NotFoundException, weblogic.management.utils.RemoveException
identifier
- Policy identifierversion
- Policy version
weblogic.management.utils.NotFoundException
- Thrown if matching policy id and version not present in store
weblogic.management.utils.RemoveException
- Thrown if store cannot be updatedpublic void deletePolicySet(String identifier, String version) throws weblogic.management.utils.NotFoundException, weblogic.management.utils.RemoveException
identifier
- Policy set identifierversion
- Policy set version
weblogic.management.utils.NotFoundException
- Thrown if matching policy set id and version not present in store
weblogic.management.utils.RemoveException
- Thrown if store cannot be updatedpublic String getPolicySetStatus(String identifier, String version) throws weblogic.management.utils.NotFoundException
identifier
- Policy set identifierversion
- Policy set version
NotFoundExeption
- Thrown if matching policy set id and version not present in store
weblogic.management.utils.NotFoundException
public String getPolicyStatus(String identifier, String version) throws weblogic.management.utils.NotFoundException
identifier
- Policy identifierversion
- Policy version
NotFoundExeption
- Thrown if matching policy id and version not present in store
weblogic.management.utils.NotFoundException
public String listAllPolicies() throws weblogic.management.utils.NotFoundException
weblogic.management.utils.NotFoundException
- Thrown if no policies are foundpublic String listAllPoliciesAsString() throws weblogic.management.utils.NotFoundException
weblogic.management.utils.NotFoundException
- Thrown if no policies are foundpublic String listAllPolicySets() throws weblogic.management.utils.NotFoundException
weblogic.management.utils.NotFoundException
- Thrown if no policy sets are foundpublic String listAllPolicySetsAsString() throws weblogic.management.utils.NotFoundException
weblogic.management.utils.NotFoundException
- Thrown if no policy sets are foundpublic void modifyPolicy(com.bea.common.security.xacml.policy.Policy policy) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
policy
- Policy document
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy id and version not present in storepublic void modifyPolicy(com.bea.common.security.xacml.policy.Policy policy, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
policy
- Policy documentstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy id and version not present in storepublic void modifyPolicy(String policy) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
policy
- Policy document
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy id and version not present in storepublic void modifyPolicy(String policy, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
policy
- Policy documentstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if policy is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy id and version not present in storepublic void modifyPolicySet(com.bea.common.security.xacml.policy.PolicySet set) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
set
- Policy set document
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy set id and version not present in storepublic void modifyPolicySet(com.bea.common.security.xacml.policy.PolicySet set, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
set
- Policy set documentstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy set id and version not present in storepublic void modifyPolicySet(String set) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
set
- Policy set document
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy set id and version not present in storepublic void modifyPolicySet(String set, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
set
- Policy set documentstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if policy set is invalid or store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy set id and version not present in storepublic void modifyPolicySetStatus(String identifier, String version, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
identifier
- Policy set identifierversion
- Policy set versionstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy set id and version not present in storepublic void modifyPolicyStatus(String identifier, String version, String status) throws weblogic.management.utils.CreateException, weblogic.management.utils.NotFoundException
identifier
- Policy identifierversion
- Policy versionstatus
- Policy status enumeration
weblogic.management.utils.CreateException
- Thrown if store cannot be updated
weblogic.management.utils.NotFoundException
- Thrown if matching policy id and version not present in storepublic com.bea.common.security.xacml.policy.Policy readPolicy(String identifier, String version) throws weblogic.management.utils.NotFoundException
identifier
- Policy identifierversion
- Policy version
weblogic.management.utils.NotFoundException
- Thrown if matching policy is not foundpublic String readPolicyAsString(String identifier, String version) throws weblogic.management.utils.NotFoundException
identifier
- Policy identifierversion
- Policy version
weblogic.management.utils.NotFoundException
- Thrown if matching policy is not foundpublic com.bea.common.security.xacml.policy.PolicySet readPolicySet(String identifier, String version) throws weblogic.management.utils.NotFoundException
identifier
- Policy set identifierversion
- Policy set version
weblogic.management.utils.NotFoundException
- Thrown if matching policy set is not foundpublic String readPolicySetAsString(String identifier, String version) throws weblogic.management.utils.NotFoundException
identifier
- Policy set identifierversion
- Policy set version
weblogic.management.utils.NotFoundException
- Thrown if matching policy set is not found
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |