Skip navigation links

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


weblogic.management.security.authorization
Interface PolicyReaderMBean

All Superinterfaces:
DescriptorBean, SettableBean, StandardInterface
All Known Subinterfaces:
PolicyAuxiliaryMBean, PolicyEditorMBean

public interface PolicyReaderMBean
extends StandardInterface, DescriptorBean

Provides a set of methods for reading 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  String getPolicyExpression(String resourceId)
          Returns the expression of an existing policy.
abstract  boolean policyExists(String resourceId)
          Indicates whether a policy exists for a resource.

 

Methods inherited from interface weblogic.management.commo.StandardInterface
getName

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

policyExists

boolean policyExists(String resourceId)
Indicates whether a policy exists for a resource.
Parameters:
resourceId - - The resource within which this method searches for a policy. A null value will trigger NullPointerException.

getPolicyExpression

String getPolicyExpression(String resourceId)
                           throws NotFoundException
Returns the expression of an existing policy.
Parameters:
resourceId - - The resource for which this method returns the policy expression. A null value will trigger NullPointerException.
Throws:
NotFoundException

Skip navigation links

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