PolicyListerMBean (Abstract)
Overview | Related MBeans | Attributes | Operations
Overview
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.
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.PolicyListerMBean
Factory Methods No factory methods. Instances of this MBean are created automatically. Subtypes The following MBeans extend or implement this MBean type:
Operations
This section describes the following operations:
advance
Advances the list to the next element in the list.
Operation Name "advance"
Parameters Object [] { cursor }
where:
cursor is an object of type
java.lang.String that specifies:
- The cursor returned from a previous list method.
Signature String [] { "java.lang.String" }
Returns void
Exceptions
weblogic.management.utils.InvalidCursorException
close
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:
cursor is an object of type
java.lang.String that specifies:
- The cursor returned from a previous list method.
Signature String [] { "java.lang.String" }
Returns void
Exceptions
weblogic.management.utils.InvalidCursorException
getCurrentProperties
The properties of the current item in the list. Returns null if there is no current item.
Operation Name "getCurrentProperties"
Parameters Object [] { cursor }
where:
cursor is an object of type
java.lang.String that specifies:
- The cursor returned from a previous list method.
Signature String [] { "java.lang.String" }
Returns Properties
Exceptions
weblogic.management.utils.InvalidCursorException
getPolicy
Obtain a policy definition for a resource. A null is returned when no policy is found. <p> The
PropertiesPropertiesListerMBean.
Operation Name "getPolicy"
Parameters Object [] { resourceId }
where:
resourceId is an object of type
java.lang.String that specifies:
- a security resource identifier.
Signature String [] { "java.lang.String" }
Returns Properties
Exceptions
weblogic.management.utils.InvalidParameterException
haveCurrent
Returns true if there are more objects in the list, and false otherwise.
Operation Name "haveCurrent"
Parameters Object [] { cursor }
where:
cursor is an object of type
java.lang.String that specifies:
- The cursor returned from a previous list method.
Signature String [] { "java.lang.String" }
Returns boolean
Exceptions
weblogic.management.utils.InvalidCursorException
isSet
Returns true if the specified attribute has been set explicitly in this MBean instance.
Operation Name "isSet"
Parameters Object [] { propertyName }
where:
propertyName is an object of type
java.lang.String that specifies:
property to check
Signature String [] { "java.lang.String" }
Returns boolean
Exceptions
java.lang.IllegalArgumentException
listAllPolicies
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.
Operation Name "listAllPolicies"
Parameters Object [] { maximumToReturn }
where:
maximumToReturn is an object of type
java.lang.Integer that specifies:
- The maximum number of entires to return. Use 0 to return all policy definitions.
Signature String [] { "java.lang.Integer" }
Returns String
Exceptions
weblogic.management.utils.NotFoundException
listChildPolicies
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.
Operation Name "listChildPolicies"
Parameters Object [] { resourceId, maximumToReturn }
where:
resourceId is an object of type
java.lang.String that specifies:
- a security resource identifier.
maximumToReturn is an object of type
java.lang.Integer that specifies:
- The maximum number of entires to return. Use 0 to return all policy definitions.
Signature String [] { "java.lang.String", "java.lang.Integer" }
Returns String
Exceptions
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
listPoliciesByApplication
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.
Operation Name "listPoliciesByApplication"
Parameters Object [] { applicationName, maximumToReturn }
where:
applicationName is an object of type
java.lang.String that specifies:
- The name of the application.
maximumToReturn is an object of type
java.lang.Integer that specifies:
- The maximum number of entires to return. Use 0 to return all policy definitions.
Signature String [] { "java.lang.String", "java.lang.Integer" }
Returns String
Exceptions
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
listPoliciesByComponent
Obtain an list of policy definitions for a specific J2EE 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 "listPoliciesByComponent"
Parameters Object [] { componentName, componentType, applicationName, maximumToReturn }
where:
componentName is an object of type
java.lang.String that specifies:
- The name of the component.
componentType is an object of type
java.lang.String that specifies:
- The component type.
applicationName is an object of type
java.lang.String that specifies:
- The name of the application.
maximumToReturn is an object of type
java.lang.Integer that specifies:
- The maximum number of entires to return. Use 0 to return all policy definitions.
Signature String [] { "java.lang.String", "java.lang.String", "java.lang.String", "java.lang.Integer" }
Returns String
Exceptions
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
listPoliciesByResourceType
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.
Operation Name "listPoliciesByResourceType"
Parameters Object [] { resourceType, maximumToReturn }
where:
resourceType is an object of type
java.lang.String that specifies:
- The name of the resource type specified by a
weblogic.security.spi.Resource object.
maximumToReturn is an object of type
java.lang.Integer that specifies:
- The maximum number of entires to return. Use 0 to return all policy definitions.
Signature String [] { "java.lang.String", "java.lang.Integer" }
Returns String
Exceptions
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
listRepeatingActionsPolicies
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.
Obtain a list of policy definitions for the actions that are repeating on a resource.
Operation Name "listRepeatingActionsPolicies"
Parameters Object [] { resourceId, maximumToReturn }
where:
resourceId is an object of type
java.lang.String that specifies:
- a security resource identifier.
maximumToReturn is an object of type
java.lang.Integer that specifies:
- The maximum number of entires to return. Use 0 to return all policy definitions.
Signature String [] { "java.lang.String", "java.lang.Integer" }
Returns String
Exceptions
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
unSet
Restore the given property to its default value.
Operation Name "unSet"
Parameters Object [] { propertyName }
where:
propertyName is an object of type
java.lang.String that specifies:
property to restore
Signature String [] { "java.lang.String" }
Returns void
Exceptions
java.lang.IllegalArgumentException
UnsupportedOperationException if called on a runtime implementation.
wls_getDisplayName
Operation Name "wls_getDisplayName"
Parameters null
Signature null
Returns String