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 PolicyAuxiliaryMBean

All Superinterfaces:
DescriptorBean, PolicyEditorMBean, PolicyReaderMBean, SettableBean, StandardInterface

public interface PolicyAuxiliaryMBean
extends PolicyEditorMBean

Provides a set of auxiliary methods for creating, editing, and removing policies. An Authorization-provider MBean can optionally extend this MBean.


Method Summary
abstract  void exportResource(String filename, String cn)
          Exports provider specific policy data using an LDAP CN search filter to specify the resources for export.
abstract  String[] getResourceNames(String resourceType)
          Returns resource names of policies associated with resources of the given type.
abstract  String[] listAllURIs(String application, String contextPath)
          List all URI strings that have policy defined for the specified application and context path.

 

Methods inherited from interface weblogic.management.security.authorization.PolicyEditorMBean
createPolicy, removePolicy, setPolicyExpression

 

Methods inherited from interface weblogic.management.security.authorization.PolicyReaderMBean
getPolicyExpression, policyExists

 

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

 

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

 

Method Detail

exportResource

void exportResource(String filename,
                    String cn)
                    throws InvalidParameterException,
                           ErrorCollectionException
Exports provider specific policy data using an LDAP CN search filter to specify the resources for export. When errors occur, the MBean throws an ErrorCollectionException containing a list of <code>java.lang.Exceptions</code;>.
Parameters:
filename - - The full path to the filename used to write data.
cn - - The LDAP CN to be used when exporting data.
Throws:
InvalidParameterException
ErrorCollectionException

listAllURIs

String[] listAllURIs(String application,
                     String contextPath)
List all URI strings that have policy defined for the specified application and context path.
Parameters:
application - - The name of the deployed application.
contextPath - - The context path for the application.

getResourceNames

String[] getResourceNames(String resourceType)
Returns resource names of policies associated with resources of the given type.
Parameters:
resourceType - - The resource type.

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