Class GlobalNodeResource

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

public class GlobalNodeResource
extends P13nResource

The GlobalNodeResource class is used to represent an application defined resource hierarchy (taxonomy). It is not used to locate P13n roles and policies (see GlobalRoleResource).

See Also
Serialized Form

Field Summary
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
GlobalNodeResource(String entAppName, String webAppName, String appResourceID, String capability)
          Construct a resource whose role policies will be scoped at a global level
Method Summary
 int getResourceScope()
          Return the resource type of this class.
 String toString()
          This method overrides the base class which will always include a "type=app" in its string representation.
Methods inherited from class com.bea.p13n.entitlements.resource.P13nResource
getCapabilityName, getEntAppName, getKeys, getLibraryResourceId, getParentResource, getResourceName, getSecurityResource, getType, getWebAppName, makeParent, 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 GlobalNodeResource(String entAppName,
                          String webAppName,
                          String appResourceID,
                          String capability)
Construct a resource whose role policies will be scoped at a global level

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


public String toString()
This method overrides the base class which will always include a "type=app" in its string representation. To access the WLS global roles, the method returns an empty string.

Specified by:
toString in interface Resource
toString in class P13nResource

Copyright © 2011, Oracle. All rights reserved.