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

Part Number E27170-02

weblogic.management.security.authorization
Interface PolicyAuxiliaryMBean

All Superinterfaces:
DescriptorBean, PolicyEditorMBean, PolicyReaderMBean, SettableBean, StandardInterface
All Known Subinterfaces:
DefaultAuthorizerMBean

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
 void exportResource(String filename, String cn)
          Exports provider specific policy data using an LDAP CN search filter to specify the resources for export.
 String[] getResourceNames(String resourceType)
          Returns resource names of policies associated with resources of the given type.
 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
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

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.

Copyright 1996, 2013, 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.2)

Part Number E27170-02