BEA Systems, Inc.

WebLogic Server 8.1 API Reference

Uses of Interface
weblogic.security.spi.Resource

Packages that use Resource
weblogic.security.service

This package includes interfaces, classes, and exceptions that support security providers. 

weblogic.security.spi

This package includes interfaces, classes, and exceptions you use to develop security providers. 

 

Uses of Resource in weblogic.security.service
 

Classes in weblogic.security.service that implement Resource
 class AdminResource
          The AdminResource class is used by a container to specify the Administrative resource (and method related to the resource) that a caller is attempting to access.
 class ApplicationResource
          The ApplicationResource class is used by a container to specify the Application resource (and method related to the resource) for which a security policy is being defined, or that a caller is attempting to access.
 class COMResource
          The COMResource class is used by a container to specify a class type that can be exported from the COM runtime.
 class EISResource
          The EISResource class is used by a container to specify the EIS resource (and method related to the resource) that a caller is attempting to access.
 class EJBResource
          The EJBResource class is used by a container to specify the EJB resource (and method related to the resource) that a caller is attempting to access.
 class JDBCResource
          The JDBCResource class is used by a container to specify the JDBC resource (and method related to the resource) that a caller is attempting to access.
 class JMSResource
          The JMSResource class is used by a container to specify the JMS resource (and method related to the resource) that a caller is attempting to access.
 class JNDIResource
          The JNDIResource class is used by a container to specify the JMS resource (and method related to the resource) that a caller is attempting to access.
 class RealmAdapterAclResource
          Deprecated. This class can be ignored.

The RealmAdapterAclResource class is used only for backwards compatibility when a specific ACL must be referenced by the server. Only the Realm Adapter Authorization provider need worry about it; other Authorization providers can just abstain on access decision requests regarding this role.

In sum, the JMS subsystem allows an ACL to be specified for a connection pool. When an ACL is specified in this manner, that ACL takes precedence over the default ACL. This functionality has been deprecated but is still supported in 7.0. When a specific ACL has been specified, there is no way to handle it in a 7.0 security provider (that is, it cannot be converted to a JMSResource). Instead, the JMS subsystem creates a RealmAdapterAclResource. This resource should only be handled by the Realm Adapter Authorization provider. Specifying an ACL for a JMS connection pool is not supported outside of Compatibility security.

The toString format for a Realm Adapter ACL resource is:
type=<acl>, permission=admin, acl=my.custom.jms.acl

 class RemoteResource
           
 class ResourceBase
          The ResourceBase class is an abstract base class for all the specific resource types and facilitates the model for the extending resources.
 class ServerResource
          The ServerResource class is used by a container to specify the Server resource (and method related to the resource) that a caller is attempting to access.
 class URLResource
          The URLResource class is used by a container to specify the URL resource (and method related to the resource) that a caller is attempting to access.
 class WebResource
          Deprecated. The WebResource class is used by a container to specify the Web resource (and method related to the resource) that a caller is attempting to access.

The URLResource class should be used in place of this WebResource class, which is now deprecated.

The toString format (which is produced by the ResourceBase class) for a Web resource is:
type=<web>, application=myApp, uri=/mywebapp, webResource=securityConstraintName, httpMethod=GET

 class WebServiceResource
          The WebServiceResource class is used by a container to specify the Web Service resource (and method related to the resource) that a caller is attempting to access.
 

Uses of Resource in weblogic.security.spi
 

Subinterfaces of Resource in weblogic.security.spi
 interface SelfDescribingResource
          The SelfDescribingResource class adds added query methods to the Resource class.
 


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