DescriptorBean, ListerMBean, PropertiesListerMBean, SettableBean, StandardInterfacepublic interface RoleListerMBean extends PropertiesListerMBean
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.
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Properties |
getRole(java.lang.String resourceId,
java.lang.String roleName) |
Obtain a role definition.
|
java.util.Properties |
getRoleScopedByResource(java.lang.String resourceId,
java.lang.String roleName) |
Obtain a role definition for a role scoped by a specified
resource.
|
java.lang.String |
listAllRoles(int maximumToReturn) |
Obtain an unsorted list of role definitions.
|
java.lang.String |
listChildRoles(java.lang.String resourceId,
int maximumToReturn) |
Obtain a list of role definitions for the children of a resource.
|
java.lang.String |
listRepeatingActionsRoles(java.lang.String resourceId,
int maximumToReturn) |
Obtain a list of role definitions for the actions that are repeating on a resource.
|
java.lang.String |
listRoles(java.lang.String resourceId,
int maximumToReturn) |
Obtain a list of role definitions for a specific resource.
|
java.lang.String |
listRolesByApplication(java.lang.String applicationName,
int maximumToReturn) |
Obtain an list of role definitions by application name.
|
java.lang.String |
listRolesByComponent(java.lang.String componentName,
java.lang.String componentType,
java.lang.String applicationName,
int maximumToReturn) |
Obtain an list of role definitions for a specific Java EE component.
|
java.lang.String |
listRolesByResourceType(java.lang.String resourceType,
int maximumToReturn) |
Obtain an list of role definitions by resource type.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListeneradvance, close, haveCurrentgetCurrentPropertiesgetNamejava.lang.String listAllRoles(int maximumToReturn)
throws NotFoundException
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.
maximumToReturn - - The maximum number of entires to return. Use 0 to return all role definitions.NotFoundExceptionjava.lang.String listRolesByResourceType(java.lang.String resourceType,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
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.
resourceType - - The name of the resource type specified by a weblogic.security.spi.Resource object.maximumToReturn - - The maximum number of entires to return. Use 0 to return all role definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listRolesByApplication(java.lang.String applicationName,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
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.
applicationName - - The name of the application.maximumToReturn - - The maximum number of entires to return. Use 0 to return all role definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listRolesByComponent(java.lang.String componentName,
java.lang.String componentType,
java.lang.String applicationName,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
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.
componentName - - The name of the component.componentType - - The component type.applicationName - - The name of the application.maximumToReturn - - The maximum number of entires to return. Use 0 to return all role definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listRoles(java.lang.String resourceId,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
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.
resourceId - - a security resource identifier.maximumToReturn - - The maximum number of entires to return. Use 0 to return all role definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listChildRoles(java.lang.String resourceId,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
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.
resourceId - - a security resource identifier.maximumToReturn - - The maximum number of entires to return. Use 0 to return all role definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listRepeatingActionsRoles(java.lang.String resourceId,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
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.
resourceId - - a security resource identifier.maximumToReturn - - The maximum number of entires to return. Use 0 to return all role definitions.NotFoundExceptionInvalidParameterExceptionjava.util.Properties getRole(java.lang.String resourceId,
java.lang.String roleName)
throws InvalidParameterException
Obtain a role definition.
A null is returned when no role is found.
The Properties is the same as those returned from the PropertiesListerMBean.
resourceId - - a security resource identifier.roleName - - a role name.InvalidParameterExceptionjava.util.Properties getRoleScopedByResource(java.lang.String resourceId,
java.lang.String roleName)
throws InvalidParameterException
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.
resourceId - - a security resource identifier.roleName - - a role name.InvalidParameterException