BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.security.providers.authorization
Interface DefaultAuthorizerMBean


public interface DefaultAuthorizerMBean
extends weblogic.management.commo.StandardInterface, DeployableAuthorizerMBean, PolicyEditorMBean, PredicateEditorMBean, ImportMBean, ExportMBean

This MBean represents configuration attributes for the WebLogic Authorization provider.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Method Summary
 void exportResource(java.lang.String filename, java.lang.String cn)
          Exports provider specific policy data using an LDAP CN search filter to specify the resources for export.
 java.lang.String getDescription()
          A short description of the WebLogic Authorization provider.
 java.lang.String getProviderClassName()
          The name of the Java class used to load the WebLogic Authorization provider.
 java.lang.String[] getSupportedExportConstraints()
          The security policies that you want exported from this Authorization provider's database.
 java.lang.String[] getSupportedExportFormats()
          The format of the file to export.
 java.lang.String[] getSupportedImportConstraints()
          The security policies that you want to be imported into this Authorization provider's database.
 java.lang.String[] getSupportedImportFormats()
          The format of the file to import.
 java.lang.String getVersion()
          The version of the WebLogic Authorization provider.
 java.lang.String[] listAllURIs(java.lang.String application, java.lang.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.DeployableAuthorizerMBean
isPolicyDeploymentEnabled, setPolicyDeploymentEnabled
 
Methods inherited from interface weblogic.management.security.authorization.PolicyEditorMBean
createPolicy, removePolicy, setPolicyExpression
 
Methods inherited from interface weblogic.security.providers.authorization.PredicateEditorMBean
registerPredicate, unregisterPredicate
 
Methods inherited from interface weblogic.management.security.ImportMBean
importData
 
Methods inherited from interface weblogic.management.security.ExportMBean
exportData
 
Methods inherited from interface weblogic.management.security.ProviderMBean
getRealm, setRealm
 
Methods inherited from interface weblogic.management.security.authorization.PolicyReaderMBean
getPolicyExpression, policyExists
 
Methods inherited from interface weblogic.security.providers.authorization.PredicateReaderMBean
getPredArgumentAllowedValues, getPredArgumentCount, getPredArgumentDefValue, getPredArgumentDescription, getPredArgumentMaxValue, getPredArgumentMinValue, getPredArgumentName, getPredArgumentType, getPredicateDescription, getPredicateDisplayName, getRegisteredPredicates, isPredArgumentValid, isRegisteredPredicate
 

Method Detail

getProviderClassName

public java.lang.String getProviderClassName()
The name of the Java class used to load the WebLogic Authorization provider.

Default Value: "weblogic.security.providers.authorization.DefaultAuthorizationProviderImpl"

getDescription

public java.lang.String getDescription()
A short description of the WebLogic Authorization provider.

Default Value: "Weblogic Authorization Provider"

getVersion

public java.lang.String getVersion()
The version of the WebLogic Authorization provider.

Default Value: "1.0"

getSupportedImportFormats

public java.lang.String[] getSupportedImportFormats()
The format of the file to import. The list of supported import formats is determined by the Authorization provider from which the security policies were originally exported.
Specified by:
getSupportedImportFormats in interface ImportMBean

Default Value: new String[] { "DefaultAtz" }

getSupportedImportConstraints

public java.lang.String[] getSupportedImportConstraints()
The security policies that you want to be imported into this Authorization provider's database. If none are specified, all are imported.
Specified by:
getSupportedImportConstraints in interface ImportMBean

Default Value: new String[0]

getSupportedExportFormats

public java.lang.String[] getSupportedExportFormats()
The format of the file to export. The list of supported export formats is determined by this Authorization provider.
Specified by:
getSupportedExportFormats in interface ExportMBean

Default Value: new String[] { "DefaultAtz" }

getSupportedExportConstraints

public java.lang.String[] getSupportedExportConstraints()
The security policies that you want exported from this Authorization provider's database. If none are specified, all are exported.
Specified by:
getSupportedExportConstraints in interface ExportMBean

Default Value: new String[0]

exportResource

public void exportResource(java.lang.String filename,
                           java.lang.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 java.lang.Exceptions.

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

public java.lang.String[] listAllURIs(java.lang.String application,
                                      java.lang.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.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b