Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.security.authorization
Interface PolicyReaderMBean

All Superinterfaces:
DescriptorBean, SettableBean, StandardInterface
All Known Subinterfaces:
DefaultAuthorizerMBean, 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
 String getPolicyExpression(String resourceId)
          Returns the expression of an existing policy.
 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
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

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

Copyright 1996, 2014, 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.1.3)

Part Number E41849-02