Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


oracle.security.jps.service.policystore.info.resource
Interface ResourceTypeEntry

All Superinterfaces:
BaseEntry

public interface ResourceTypeEntry
extends BaseEntry

A resource type encapsulates a resource namespace.

To create an in-memory representation of a ResourceTypeEntry use InfoFactory.newResourceTypeEntry(String, String, String, String, String, java.util.Set, String).

To persist a ResourceTypeEntry in the underlying policystore use ResourceTypeManager.createResourceType(ResourceTypeEntry).

To modify, delete or query a ResourceTypeEntry use ResourceTypeManager


Nested Class Summary
static class ResourceTypeEntry.Properties
          Modifiable properties of a ResourceTypeEntry
static class ResourceTypeEntry.ResourceHierarchyType
           

 

Field Summary
static java.lang.String DEFAULT_RESOURCE_TYPE_NAME
           

 

Method Summary
 java.util.Set getActions()
           
 java.lang.String getActionsDelimiter()
           
 java.lang.String getName()
          Get name of this resource type.
 java.lang.String getProvider()
           
 java.lang.String getResourceMatcherClassName()
          The permission class or matching algorithm applicable for all resources of this resource type.
 java.lang.String getSuperTypeName()
          Not supported for drop7.

 

Methods inherited from interface oracle.security.jps.service.policystore.info.common.BaseEntry
getDescription, getDisplayName, getEntryReference, getGUID, getParentApplication, getUniqueName

 

Field Detail

DEFAULT_RESOURCE_TYPE_NAME

static final java.lang.String DEFAULT_RESOURCE_TYPE_NAME
See Also:
Constant Field Values

Method Detail

getName

java.lang.String getName()
Get name of this resource type.
Specified by:
getName in interface BaseEntry
Returns:
name of the resource type, which is unique in a given application.

getActions

java.util.Set getActions()
Returns:
Set of all possible actions for the given resource type. For example, for a file type resource, the set may contain "read", "write" and "execute".

getResourceMatcherClassName

java.lang.String getResourceMatcherClassName()
The permission class or matching algorithm applicable for all resources of this resource type. This class must implement java Permission interface. May be null.
Returns:
Name of the permission class/ matcher class for the resource type.

getSuperTypeName

java.lang.String getSuperTypeName()
Not supported for drop7.

getProvider

java.lang.String getProvider()
Returns:
Provider for this resource type. The Provider will support queries on instances of this resource type. Must implement the ResourceFinder interface.

getActionsDelimiter

java.lang.String getActionsDelimiter()
Returns:
Delimiter used to separate multiple actions for the resource type. Default value is ", as in "read, writer, execute"

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


Copyright © 2010, Oracle. All rights reserved.