This MBean represents configuration attributes for the WebLogic Authorization provider.Deprecation of MBeanHome and Type-Safe InterfacesThis is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.
If you use the getMBeanInfo
operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.security.providers.authorization.DefaultAuthorizerMBean
No factory methods. Instances of this MBean are created automatically.
Because this MBean extends or implements AuthorizerMBean, you can also access this MBean by retrieving AuthorizerMBeans. The following attributes contain AuthorizerMBeans and its subtypes:
|
This section describes attributes that contain child MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.
|
Returns the realm that contains this security provider. Returns null if this security provider is not contained by a realm.
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | RealmMBean |
This section describes the following attributes:
A short description of the WebLogic Authorization provider.
Privileges | Read only |
Type | java.lang.String |
Default Value | WebLogic Authorization Provider |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Privileges | Read only |
Type | java.lang.String |
Default Value | DefaultAuthorizer |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
Returns whether this Authorization provider stores policies that are created while deploying a Web application or EJB.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The name of this WebLogic Authorization provider.
Privileges | Read only |
Type | java.lang.String |
Default Value | weblogic.security.providers.authorization.DefaultAuthorizationProviderImpl |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The security policies that you want exported from this Authorization provider's database. If none are specified, all are exported.
Privileges | Read only |
Type | class java.lang.String[] |
Default Value | |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The format of the file to export. The list of supported export formats is determined by this Authorization provider.
Privileges | Read only |
Type | class java.lang.String[] |
Default Value | DefaultAtz |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The security policies that you want to be imported into this Authorization provider's database. If none are specified, all are imported.
Privileges | Read only |
Type | class java.lang.String[] |
Default Value | |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
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.
Privileges | Read only |
Type | class java.lang.String[] |
Default Value | DefaultAtz |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The version of the WebLogic Authorization provider.
Privileges | Read only |
Type | java.lang.String |
Default Value | 1.0 |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
This section describes the following operations:
Advances the list to the next element in the list.
Operation Name | "advance" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.InvalidCursorException
Indicates that the caller is finished using the list, and that the resources held on behalf of the list may be released. If the caller traverses through all the elements in the list, the caller need not call this method. In other words, it is used to let the caller close the list without reading each element that is returned.
Operation Name | "close" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.InvalidCursorException
Creates a policy for accessing a resource.
Operation Name | "createPolicy" |
Parameters | Object [] {
resourceId, expression }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.AlreadyExistsException
weblogic.management.utils.CreateException
Exports provider specific data in a specified format. When
errors occur, the MBean throws an ErrorCollectionException
containing a list of java.lang.Exceptions
, where the
text of each exception describes the error.
Operation Name | "exportData" |
Parameters | Object [] {
format, filename, constraints }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"java.util.Properties" } |
Returns |
void
|
weblogic.management.utils.InvalidParameterException
weblogic.management.utils.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.
Operation Name | "exportResource" |
Parameters | Object [] {
filename, cn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.InvalidParameterException
weblogic.management.utils.ErrorCollectionException
The properties of the current item in the list. Returns null if there is no current item.
Operation Name | "getCurrentProperties" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | Properties
|
weblogic.management.utils.InvalidCursorException
Obtain a policy definition for a resource. A null is returned
when no policy is found. <p> The
Properties
PropertiesListerMBean.
Operation Name | "getPolicy" |
Parameters | Object [] {
resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | Properties
|
weblogic.management.utils.InvalidParameterException
Returns the expression of an existing policy.
Operation Name | "getPolicyExpression" |
Parameters | Object [] {
resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns | String
|
weblogic.management.utils.NotFoundException
Returns an array of class names of the registered predicates.
Operation Name | "getRegisteredPredicates" |
Parameters | Object [] {
nameFilter }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
class |
Returns resource names of policies associated with resources of the given type.
Operation Name | "getResourceNames" |
Parameters | Object [] {
resourceType }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
class |
Returns true if there are more objects in the list, and false otherwise.
Operation Name | "haveCurrent" |
Parameters | Object [] {
cursor }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
weblogic.management.utils.InvalidCursorException
Imports provider specific data from a specified format. When
errors occur, the MBean throws an ErrorCollectionException
containing a list of java.lang.Exceptions
, where the
text of each exception describes the error.
Operation Name | "importData" |
Parameters | Object [] {
format, filename, constraints }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"java.util.Properties" } |
Returns |
void
|
weblogic.management.utils.InvalidParameterException
weblogic.management.utils.ErrorCollectionException
Specifies whether or not the predicate with specified class name is registered.Deprecation of MBeanHome and Type-Safe InterfacesThis is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.
Operation Name | "isRegisteredPredicate" |
Parameters | Object [] {
predicateClassName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Obtain an unsorted list of policy definitions.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listAllPolicies" |
Parameters | Object [] {
maximumToReturn }
where:
|
Signature | String [] {
"java.lang.Integer" } |
Returns | String
|
weblogic.management.utils.NotFoundException
List all URI strings that have policy defined for the specified application and context path.
Operation Name | "listAllURIs" |
Parameters | Object [] {
application, contextPath }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns |
class |
Obtain a list of policy definitions for the children of a resource.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listChildPolicies" |
Parameters | Object [] {
resourceId, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
Obtain an list of policy definitions by application name.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listPoliciesByApplication" |
Parameters | Object [] {
applicationName, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
Obtain an list of policy definitions for a specific J2EE component.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listPoliciesByComponent" |
Parameters | Object [] {
componentName, componentType, applicationName, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String",
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
Obtain an list of policy definitions by resource type.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Operation Name | "listPoliciesByResourceType" |
Parameters | Object [] {
resourceType, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
Obtain a list of policy definitions for the actions that are repeating on a resource.
This method returns a cursor that you can pass to the methods
from weblogic.management.utils.PropertiesListerMBean
(which this MBean extends) to iterate through the returned
list.
Obtain a list of policy definitions for the actions that are repeating on a resource.
Operation Name | "listRepeatingActionsPolicies" |
Parameters | Object [] {
resourceId, maximumToReturn }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.Integer" } |
Returns | String
|
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
Indicates whether a policy exists for a resource.
Operation Name | "policyExists" |
Parameters | Object [] {
resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Registers a new predicate with the specified class name.
Operation Name | "registerPredicate" |
Parameters | Object [] {
predicateClassName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.InvalidPredicateException
weblogic.management.utils.AlreadyExistsException
Removes a policy.
Operation Name | "removePolicy" |
Parameters | Object [] {
resourceId }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.NotFoundException
weblogic.management.utils.RemoveException
Sets a policy expression for a resource.
Operation Name | "setPolicyExpression" |
Parameters | Object [] {
resourceId, expression }
where:
|
Signature | String [] {
"java.lang.String",
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.NotFoundException
weblogic.management.utils.CreateException
Unregisters the currently registered predicate.
Operation Name | "unregisterPredicate" |
Parameters | Object [] {
predicateClassName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
weblogic.management.utils.NotFoundException
Operation Name | "wls_getDisplayName" |
Parameters | null |
Signature | null |
Returns | String
|