|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyListerMBean
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.
Method Summary | |
---|---|
abstract Properties |
getPolicy(String resourceId) Obtain a policy definition for a resource. |
abstract String |
listAllPolicies(int maximumToReturn) Obtain an unsorted list of policy definitions. |
abstract String |
listChildPolicies(String resourceId, int maximumToReturn) Obtain a list of policy definitions for the children of a resource. |
abstract String |
listPoliciesByApplication(String applicationName, int maximumToReturn) Obtain an list of policy definitions by application name. |
abstract String |
listPoliciesByComponent(String componentName, String componentType, String applicationName, int maximumToReturn) Obtain an list of policy definitions for a specific Java EE component. |
abstract String |
listPoliciesByResourceType(String resourceType, int maximumToReturn) Obtain an list of policy definitions by resource type. |
abstract String |
listRepeatingActionsPolicies(String resourceId, int maximumToReturn) Obtain a list of policy definitions for the actions that are repeating on a resource. |
Methods inherited from interface weblogic.management.utils.PropertiesListerMBean |
---|
getCurrentProperties |
Methods inherited from interface weblogic.management.utils.ListerMBean |
---|
advance, close, haveCurrent |
Methods inherited from interface weblogic.management.commo.StandardInterface |
---|
getName |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
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.NotFoundException
String listPoliciesByResourceType(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.NotFoundException
InvalidParameterException
String listPoliciesByApplication(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.NotFoundException
InvalidParameterException
String listPoliciesByComponent(String componentName, String componentType, 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.NotFoundException
InvalidParameterException
String listChildPolicies(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.NotFoundException
InvalidParameterException
String listRepeatingActionsPolicies(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.NotFoundException
InvalidParameterException
Properties getPolicy(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
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |