BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


Uses of Interface
weblogic.security.spi.Resource

Packages that use Resource
weblogic.management.security Provides interfaces and classes for the configuration, control and monitoring of security providers in a WebLogic security realm. 
weblogic.security.providers.saml   
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.management.security
 

Methods in weblogic.management.security that return Resource
 Resource ResourceIdInfo.getResource(Map resMap)
          Get a resource object from a Map.
 

Uses of Resource in weblogic.security.providers.saml
 

Methods in weblogic.security.providers.saml with parameters of type Resource
 Object SAMLCredentialMapperProviderBaseImpl.getCredential(Subject requestor, String initiator, Resource resource, ContextHandler handler, String credType)
          This method is called by the framework when Credentials are required.
 Object[] SAMLCredentialMapperProviderBaseImpl.getCredentials(Subject requestor, Subject initiator, Resource resource, ContextHandler handler, String credType)
          This method is called by the framework when Credentials are required.
 

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 ControlResource
          The ControlResource class is used by a controls container to specify the Control resource (and method related to the resource) that a caller is attempting to access.
 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 JMXResource
          The JMXResource class is used by a container to specify the JMX MBean 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 RemoteResource
          The RemoteResource class is used by WLS to represent a service endpoint that is not deployed on the local WLS server.
 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 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.
 class WorkContextResource
          The WorkContextResource class is used by a container to specify the WorkContext resource (and method related to the resource) that a caller is attempting to access.
 

Fields in weblogic.security.service declared as Resource
protected static Resource ResourceBase.NO_PARENT
           
protected  Resource ResourceBase.parent
           
 

Methods in weblogic.security.service that return Resource
protected  Resource WorkContextResource.makeParent()
          Gets a Resource object that represents the parent of the current WorkContextResource.
protected  Resource WebServiceResource.makeParent()
          Gets a Resource object that represents the parent of the current WebServiceResource.
protected  Resource URLResource.makeParent()
          Gets a Resource object that represents the parent of the current URLResource.
protected  Resource ServerResource.makeParent()
          Gets a Resource object that represents the parent of the current ServerResource.
 Resource ResourceBase.getParentResource()
          Gets a Resource object that represents the parent of the current resource.
protected  Resource ResourceBase.makeParent()
          Creates a ResourceBase object that represents the parent of the current resource.
protected  Resource RemoteResource.makeParent()
          Gets a Resource object that represents the parent of the current RemoteResource.
 Resource[] PolicyCollectionInfoImpl.getResourceTypes()
          Get the resource types used in the policy collection.
protected  Resource MBeanResource.makeParent()
          Gets a Resource object that represents the parent of the current resource.
protected  Resource JNDIResource.makeParent()
          Gets a Resource object that represents the parent of the current JNDIResource.
protected  Resource JMXResource.makeParent()
          Gets a Resource object that represents the parent of the current JMXResource.
protected  Resource JMSResource.makeParent()
          Gets a Resource object that represents the parent of the current JMSResource.
protected  Resource JDBCResource.makeParent()
          Gets a Resource object that represents the parent of the current JDBCResource.
protected  Resource EJBResource.makeParent()
          Gets a Resource object that represents the parent of the current EJBResource.
protected  Resource EISResource.makeParent()
          Gets a Resource object that represents the parent of the current EISResource.
protected  Resource ControlResource.makeParent()
          Gets a Resource object that represents the parent of the current ControlResource.
protected  Resource COMResource.makeParent()
          Gets a Resource object that represents the parent of the current COMResource.
 Resource AuditStartRoleDeployEventImpl.getResource()
           
 Resource AuditStartPolicyDeployEventImpl.getResource()
           
 Resource AuditRoleUndeployEventImpl.getResource()
           
 Resource AuditRoleEventImpl.getResource()
          Returns the resource whose roles are being manipulated.
 Resource AuditRoleDeployEventImpl.getResource()
          Returns the resource for which the role is being added.
 Resource AuditRoleDeleteAppEventImpl.getResource()
           
 Resource AuditResourceProtectedEventImpl.getResource()
           
 Resource AuditPolicyUndeployEventImpl.getResource()
           
 Resource AuditPolicyDeployEventImpl.getResource()
           
 Resource AuditPolicyDeleteAppEventImpl.getResource()
           
 Resource AuditEndRoleDeployEventImpl.getResource()
           
 Resource AuditEndPolicyDeployEventImpl.getResource()
           
 Resource AuditCredentialMappingEventImpl.getResource()
           
 Resource AuditAtzEventImpl.getResource()
           
 Resource AuditApplicationVersionEventImpl.getResource()
           
protected  Resource ApplicationResource.makeParent()
          Gets a Resource object that represents the parent of the current ApplicationResource.
protected  Resource AdminResource.makeParent()
          Gets a Resource object that represents the parent of the current AdminResource.
 

Methods in weblogic.security.service with parameters of type Resource
static String TestResource.getResourceHierarchy(Resource r)
           
static String TestResource.getFieldTypes(Resource r)
           
 Map RoleManager.getRoles(weblogic.security.acl.internal.AuthenticatedSubject subject, Resource resource, ContextHandler handler)
          Returns a Map of names to SecurityRole objects applicable to the provided Subject based on the Resource and ContextHandler that was passed in.
 void RoleManager.deployRole(weblogic.security.service.RoleManagerDeployHandle handle, Resource resource, String roleName, String[] userAndGroupNames)
          Deploys a role (that is, creates a role on behalf of a deployed Web application or EJB).
 weblogic.security.service.DeploymentValidationResult DeploymentValidatorUnknownImpl.doesRoleExist(String roleName, Resource resource)
          Determine if a role is defined.
 weblogic.security.service.DeploymentValidationResult DeploymentValidator.doesRoleExist(String roleName, Resource resource)
          Determine if a role is defined within the security realm and is scoped by a resource.
 weblogic.security.service.DeploymentValidationResult DeploymentUtils.doesRoleExist(String roleName, Resource resource)
          Determine if a role is defined within the security realm and is scoped by a resource.
 Object[] CredentialManager.getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, weblogic.security.acl.internal.AuthenticatedSubject initiator, Resource resource, ContextHandler handler, String credType)
          Returns credentials of the specified type from the target resource associated with the specified subject.
 Object[] CredentialManager.getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, String initiator, Resource resource, ContextHandler handler, String credType)
          Returns credentials of the specified type from the target resource associated with the specified subject.
 Vector CredentialManager.getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, weblogic.security.acl.internal.AuthenticatedSubject initiator, Resource resource, String[] credentialTypes)
          Deprecated. As of WebLogic Server 9.0, replaced with getCredentials(AuthenticatedSubject, AuthenticatedSubject, Resource, String)
 Vector CredentialManager.getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, String initiator, Resource resource, String[] credentialTypes)
          Deprecated. As of WebLogic Server 9.0, replaced with getCredentials(AuthenticatedSubject, String, Resource, String)
 void AuthorizationPolicyHandler.setPolicy(Resource resource, String[] roleNames)
          Set a policy for the specified resource using the supplied roles names.
 void AuthorizationPolicyHandler.setUncheckedPolicy(Resource resource)
          Set a policy which always grants access to the specified resource.
 boolean AuthorizationManager.isAccessAllowed(weblogic.security.acl.internal.AuthenticatedSubject aSubject, Map roles, Resource resource, ContextHandler handler, Direction direction)
          Provides an indication to whether the authorization policies defined for the resource allow the requested method to be performed by utilizing the information contained in the Subject.
 boolean AuthorizationManager.isAccessAllowed(weblogic.security.acl.internal.AuthenticatedSubject aSubject, Resource resource, ContextHandler handler)
          Provides a shortcut wrapper to the version of isAccessAllowed that takes SecurityRoles and ContextHandlers.
 boolean AuthorizationManager.isProtectedResource(Subject subject, Resource resource)
          Returns an indication of whether the specified resource is protected.
 void AuthorizationManager.deployPolicy(weblogic.security.service.AuthorizationManagerDeployHandle handle, Resource resource, String[] roleNames)
          Deploys a policy (that is, creates a policy on behalf of a deployed Web application or EJB).
 void AuthorizationManager.deployUncheckedPolicy(weblogic.security.service.AuthorizationManagerDeployHandle handle, Resource resource)
          Deploys a policy which always grants access.
 void AuthorizationManager.deployExcludedPolicy(weblogic.security.service.AuthorizationManagerDeployHandle handle, Resource resource)
          Deploys a policy which always denies access.
 weblogic.security.service.AuthorizationPolicyHandler AuthorizationManager.getAuthorizationPolicyHandler(String name, String version, String timeStamp, Resource[] resources)
          Obtain a authorization policy handler for a policy set.
 

Constructors in weblogic.security.service with parameters of type Resource
ApplicationResource(String application, Resource parent)
          Create an ApplicationResource who's parent resource is passed in.
 

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.
 interface SelfDescribingResourceV2
          The SelfDescribingResourceV2 class adds more query methods to the SelfDescribingResource class.
 

Methods in weblogic.security.spi that return Resource
 Resource Resource.getParentResource()
          Gets a Resource object that represents the parent of the current resource.
 Resource[] PolicyCollectionInfo.getResourceTypes()
          Get the resource types used in the policy collection.
 Resource AuditPolicyEvent.getResource()
          Gets the resource associated with this AuditPolicyEvent.
 Resource AuditCredentialMappingEvent.getResource()
          Gets the resource of the getCredential operation associated with this AuditCredentialMappingEvent.
 Resource AuditAtzEvent.getResource()
          Gets the resource associated with this AuditAtzEvent.
 Resource AuditApplicationVersionEvent.getResource()
          Returns the resource associated with this AuditApplicationVersionEvent.
 

Methods in weblogic.security.spi with parameters of type Resource
 Map RoleMapper.getRoles(Subject subject, Resource resource, ContextHandler handler)
          Indicates whether the authorization policies defined for the resource allow the requested method to be performed.
 void PolicyCollectionHandler.setPolicy(Resource resource, String[] roleNames)
          Set a policy for the specified resource using the supplied roles names.
 void PolicyCollectionHandler.setUncheckedPolicy(Resource resource)
          Set a policy which always grants access to the specified resource.
 void DeployableRoleProviderV2.deployRole(DeployRoleHandle handle, Resource resource, String roleName, String[] userAndGroupNames)
          Deploys a role (that is, creates a role on behalf of a deployed Web application or EJB).
 void DeployableRoleProvider.deployRole(Resource resource, String roleName, String[] userAndGroupNames)
          Deprecated. Deploys a role (that is, creates a role on behalf of a deployed Web application/EJB).
 void DeployableRoleProvider.undeployRole(Resource resource, String roleName)
          Deprecated. Undeploys a role (that is, deletes a role on behalf of an undeployed Web application/EJB).
 void DeployableCredentialProvider.deployCredentialMapping(Resource resource, String initiatingPrincipal, String eisUsername, String eisPassword)
          Deprecated. Deploys credential maps (that is, creates a credential mapping on behalf of a deployed Resource Adapter).
 void DeployableCredentialProvider.undeployCredentialMappings(Resource resource)
          Deprecated. Undeploys credential maps (that is, deletes a credential mapping on behalf of an undeployed Resource Adapter).
 void DeployableAuthorizationProviderV2.deployPolicy(DeployPolicyHandle handle, Resource resource, String[] roleNames)
          Deploys a policy (that is, creates a policy on behalf of a deployed Web application or EJB).
 void DeployableAuthorizationProviderV2.deployUncheckedPolicy(DeployPolicyHandle handle, Resource resource)
          Deploys a policy that always grants access.
 void DeployableAuthorizationProviderV2.deployExcludedPolicy(DeployPolicyHandle handle, Resource resource)
          Deploys a policy that always denies access.
 void DeployableAuthorizationProvider.deployPolicy(Resource resource, String[] roleNames)
          Deprecated. Deploys a policy (that is, creates a policy on behalf of a deployed Web application or EJB).
 void DeployableAuthorizationProvider.undeployPolicy(Resource resource)
          Deprecated. Undeploys a policy (that is, deletes a policy on behalf of an undeployed Web application or EJB).
 Object CredentialMapperV2.getCredential(Subject requestor, String initiator, Resource resource, ContextHandler handler, String credType)
          Returns credential of the specified type from the target resource associated with the specified initiator.
 Object[] CredentialMapperV2.getCredentials(Subject requestor, Subject initiator, Resource resource, ContextHandler handler, String credType)
          Returns credentials of the specified type from the target resource associated with the specified initiator.
 Vector CredentialMapper.getCredentials(Subject requestor, Subject initiator, Resource resource, String[] credentialTypes)
          Deprecated. Gets the set of supported credentials for the target resource, based on the identity of the initiating principal that is specified in the subject.
 Object CredentialMapper.getCredentials(Subject requestor, String initiator, Resource resource, String[] credentialTypes)
          Deprecated. Gets the set of supported credentials for the target resource, based on the identity of the initiating principal.
 boolean AdjudicatorV2.adjudicate(Result[] results, Resource resource, ContextHandler handler)
          Determines the final adjudication from a set of decisions rendered by Access Decisions, provided they are acting as policy decision points (PDPs).
 Result AccessDecision.isAccessAllowed(Subject subject, Map roles, Resource resource, ContextHandler handler, Direction direction)
          Indicates whether the authorization policies defined for the resource allow the requested method to be performed, by utilizing the information contained in the subject.
 boolean AccessDecision.isProtectedResource(Subject subject, Resource resource)
          Determines if the specified resource is protected against access by unauthenticated principals.
 


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.