DescriptorBean, ListerMBean, PropertiesListerMBean, SettableBean, StandardInterfacepublic interface PolicyListerMBean extends PropertiesListerMBean
Provides a set of methods for listing data about 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.
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Properties |
getPolicy(java.lang.String resourceId) |
Obtain a policy definition for a resource.
|
java.lang.String |
listAllPolicies(int maximumToReturn) |
Obtain an unsorted list of policy definitions.
|
java.lang.String |
listChildPolicies(java.lang.String resourceId,
int maximumToReturn) |
Obtain a list of policy definitions for the children of a resource.
|
java.lang.String |
listPoliciesByApplication(java.lang.String applicationName,
int maximumToReturn) |
Obtain an list of policy definitions by application name.
|
java.lang.String |
listPoliciesByComponent(java.lang.String componentName,
java.lang.String componentType,
java.lang.String applicationName,
int maximumToReturn) |
Obtain an list of policy definitions for a specific Java EE component.
|
java.lang.String |
listPoliciesByResourceType(java.lang.String resourceType,
int maximumToReturn) |
Obtain an list of policy definitions by resource type.
|
java.lang.String |
listRepeatingActionsPolicies(java.lang.String resourceId,
int maximumToReturn) |
Obtain a list of policy definitions for the actions that are repeating on a resource.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListeneradvance, close, haveCurrentgetCurrentPropertiesgetNamejava.lang.String listAllPolicies(int maximumToReturn)
throws NotFoundException
Obtain an unsorted list of policy 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 policy definitions.NotFoundExceptionjava.lang.String listPoliciesByResourceType(java.lang.String resourceType,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
Obtain an list of policy 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 policy definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listPoliciesByApplication(java.lang.String applicationName,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
Obtain an list of policy 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 policy definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listPoliciesByComponent(java.lang.String componentName,
java.lang.String componentType,
java.lang.String applicationName,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
Obtain an list of policy 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 policy definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listChildPolicies(java.lang.String resourceId,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
Obtain a list of policy 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 policy definitions.NotFoundExceptionInvalidParameterExceptionjava.lang.String listRepeatingActionsPolicies(java.lang.String resourceId,
int maximumToReturn)
throws NotFoundException,
InvalidParameterException
Obtain a list of policy 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 policy definitions.NotFoundExceptionInvalidParameterExceptionjava.util.Properties getPolicy(java.lang.String resourceId)
throws InvalidParameterException
Obtain a policy definition for a resource. A null is returned when no policy is found.
The Properties object is the same as those retuned from the
PropertiesListerMBean.
resourceId - - a security resource identifier.InvalidParameterException