Provides a set of methods for listing data about roles. 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.RoleListerMBean
|
||
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:
Advances the list to the next element in the list.
Operation Name | "advance" |
Parameters | Object [] { cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
Indicates that the caller is finished using the list, and that the resources held on behalf of the list may be released. If the caller traverses through all the elements in the list, the caller need not call this method. In other words, it is used to let the caller close the list without reading each element that is returned.
Operation Name | "close" |
Parameters | Object [] { cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|
The properties of the current item in the list. Returns null if there is no current item.
Operation Name | "getCurrentProperties" |
Parameters | Object [] { cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | Properties
|
Exceptions |
|
Obtain a role definition. A null is returned when no role is found.
The Properties
is the same as those returned from
the PropertiesListerMBean
.
Operation Name | "getRole" |
Parameters | Object [] { resourceId, roleName }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns | Properties
|
Exceptions |
|
Obtain a role definition for a role scoped by a specified resource. This may result in a global role definition.
If the role is defined at the specified resource then a call to
getRole
would return the same result.
A null is returned when no role is found.
The Properties
object is the same as those
returned from the PropertiesListerMBean
.
Operation Name | "getRoleScopedByResource" |
Parameters | Object [] { resourceId, roleName }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns | Properties
|
Exceptions |
|
Returns true if there are more objects in the list, and false otherwise.
Operation Name | "haveCurrent" |
Parameters | Object [] { cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
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 |
|
Obtain an unsorted list of role definitions.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listAllRoles" |
Parameters | Object [] { maximumToReturn }
where:
|
Signature | String [] {
"java.lang.Integer" } |
Returns | String
|
Exceptions |
|
Obtain a list of role definitions for the children of a resource.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listChildRoles" |
Parameters | Object [] { resourceId, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
Exceptions |
|
Obtain a list of role definitions for the actions that are repeating on a resource.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listRepeatingActionsRoles" |
Parameters | Object [] { resourceId, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
Exceptions |
|
Obtain a list of role definitions for a specific resource.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listRoles" |
Parameters | Object [] { resourceId, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
Exceptions |
|
Obtain an list of role definitions by application name.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listRolesByApplication" |
Parameters | Object [] { applicationName, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
Exceptions |
|
Obtain an list of role definitions for a specific Java EE component.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listRolesByComponent" |
Parameters | Object [] { componentName, componentType, applicationName, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
Exceptions |
|
Obtain an list of role definitions by resource type.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listRolesByResourceType" |
Parameters | Object [] { resourceType, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
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
|