Class P13nLibraryResource

  extended by
      extended by com.bea.p13n.entitlements.resource.P13nResource
          extended by com.bea.p13n.entitlements.resource.P13nCachedResource
              extended by com.bea.p13n.entitlements.resource.P13nLibraryResource
All Implemented Interfaces
SecurityResource, Serializable, Resource, SelfDescribingResource, SelfDescribingResourceV2

public class P13nLibraryResource
extends P13nCachedResource
implements SecurityResource

The P13nLibraryResource class is used to represent an application defined resource for the runtime checking of role or security policies, which may be found scoped to a resource or a separate library.

See Also
Serialized Form

Field Summary
Fields inherited from class com.bea.p13n.entitlements.resource.P13nCachedResource
Fields inherited from class com.bea.p13n.entitlements.resource.P13nResource
empty, idDelimiter, initialCapability, libraryResourceId
Fields inherited from class
id, length, NO_PARENT, parent, resStr, SCOPE_RESOURCE_ACTION, values
Fields inherited from interface
Constructor Summary
P13nLibraryResource(String entAppName, String webAppName, String appResourceID, String capability, String libraryResourceID)
          Construct a resource to be used for location of security policies.
Method Summary
 int getResourceScope()
          Return the resource type of this class.
Methods inherited from class com.bea.p13n.entitlements.resource.P13nCachedResource
getParentResource, makeParent, toString
Methods inherited from class com.bea.p13n.entitlements.resource.P13nResource
getCapabilityName, getEntAppName, getKeys, getLibraryResourceId, getResourceName, getSecurityResource, getType, getWebAppName, setInitialValues, setSecurityResource
Methods inherited from class
appendArrayValue, appendValue, equals, getFieldType, getID, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, reset, writeResourceString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public P13nLibraryResource(String entAppName,
                           String webAppName,
                           String appResourceID,
                           String capability,
                           String libraryResourceID)
Construct a resource to be used for location of security policies.

entAppName - Enterprise application name.
webAppName - Webapp name.
appResourceID - Application-defined resource taxonomy Id
capability - Optional application-defined capability to evaluate. If no capability name is specified, a policy with no capability name will be used if found.
Method Detail


public final int getResourceScope()
Return the resource type of this class.

Specified by:
getResourceScope in class P13nResource

Copyright © 2011, Oracle. All rights reserved.