Provides a set of methods for creating, editing, and removing policies. An Authorization-provider MBean can optionally extend this MBean. The WebLogic Server Administration Console detects when an Authorization provider extends this MBean and automatically provides a GUI for using these methods.
Fully Qualified Interface Name | If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:weblogic.management.security.authorization.PolicyEditorMBean
|
Factory Methods | No factory methods. Instances of this MBean are created automatically. |
This section describes the following operations:
Creates a policy for accessing a resource.
Operation Name | "createPolicy" |
Parameters | Object [] { resourceId, expression }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Returns the expression of an existing policy.
Operation Name | "getPolicyExpression" |
Parameters | Object [] { resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
Exceptions |
|
Returns true if the specified attribute has been set explicitly in this MBean instance.
Operation Name | "isSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
Indicates whether a policy exists for a resource.
Operation Name | "policyExists" |
Parameters | Object [] { resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Removes a policy.
Operation Name | "removePolicy" |
Parameters | Object [] { resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Sets a policy expression for a resource.
Operation Name | "setPolicyExpression" |
Parameters | Object [] { resourceId, expression }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Restore the given property to its default value.
Operation Name | "unSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Returns the display name of an MBean.
Deprecated 9.0.0.0
Operation Name | "wls_getDisplayName" |
Parameters | null |
Signature | null |
Returns | String
|