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 getMBeanInfooperation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:weblogic.management.security.authorization.RoleEditorMBean | ||
| Factory Methods | No factory methods. Instances of this MBean are created automatically. | ||
| Subtypes | The following MBeans extend or implement this MBean type: | 
This section describes the following operations:
Creates role for a resource.
| Operation Name | "createRole" | 
| Parameters | Object [] {  resourceId, roleName, expression } where: 
 | 
| Signature | String [] {  
									"java.lang.String", 
									"java.lang.String", 
									"java.lang.String" } | 
| Returns | 
    void
     | 
| Exceptions | 
 | 
Returns the expression that defines the role granting policy.
| Operation Name | "getRoleExpression" | 
| Parameters | Object [] {  resourceId, roleName } where: 
 | 
| Signature | String [] {  
									"java.lang.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 | 
 | 
Lists the role names that are scoped by a resource. Returns a null list if there are no roles under this resource scoping.
| Operation Name | "listRolesForResource" | 
| Parameters | Object [] {  resourceId } where: 
 | 
| Signature | String [] {  
									"java.lang.String" } | 
| Returns | 
    class  | 
Removes a role from a resource.
| Operation Name | "removeRole" | 
| Parameters | Object [] {  resourceId, roleName } where: 
 | 
| Signature | String [] {  
									"java.lang.String", 
									"java.lang.String" } | 
| Returns | 
    void
     | 
| Exceptions | 
 | 
Indicates whether a role exists.
| Operation Name | "roleExists" | 
| Parameters | Object [] {  resourceId, roleName } where: 
 | 
| Signature | String [] {  
									"java.lang.String", 
									"java.lang.String" } | 
| Returns | 
    boolean
     | 
Sets the policy expression for a role.
| Operation Name | "setRoleExpression" | 
| Parameters | Object [] {  resourceId, roleName, expression } where: 
 | 
| Signature | String [] {  
									"java.lang.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 | 
 | 
| Operation Name | "wls_getDisplayName" | 
| Parameters | null | 
| Signature | null | 
| Returns | String
     |