com.bea.p13n.entitlements.resource
Class LeafNodeResource
java.lang.Object
weblogic.security.service.ResourceBase
com.bea.p13n.entitlements.resource.P13nResource
com.bea.p13n.entitlements.resource.LeafNodeResource
- All Implemented Interfaces
- Serializable, Resource, SelfDescribingResource, SelfDescribingResourceV2
public class LeafNodeResource
- extends P13nResource
The LeafNodeResource class is used to represent
an application defined resource hierarchy (taxonomy).
It is not used to locate P13n roles and policies (see
LeafRoleResource
.
- See Also
- Serialized Form
Methods inherited from class com.bea.p13n.entitlements.resource.P13nResource |
getCapabilityName, getEntAppName, getKeys, getLibraryResourceId, getParentResource, getResourceName, getSecurityResource, getType, getWebAppName, setInitialValues, setSecurityResource, toString |
Methods inherited from class weblogic.security.service.ResourceBase |
appendArrayValue, appendValue, equals, getFieldType, getID, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, reset, writeResourceString |
LeafNodeResource
public LeafNodeResource(String entAppName,
String webAppName,
String appResourceID,
String capabilityName)
- Construct a resource whose role policies will be
scoped at the leaf node level
- Parameters
entAppName
- Enterprise application name.webAppName
- Webapp name.appResourceID
- Application-defined resource taxonomy IdcapabilityName
- Currently unused.
makeParent
public Resource makeParent()
- Description copied from class:
P13nResource
- Make and return the logical hierarchical parent of this
Resource
- Overrides:
makeParent
in class P13nResource
- Returns
- Resource represents the logical parent. Null represents the root of a hierarchy.
getResourceScope
public final int getResourceScope()
- Return the resource type of this class.
- Specified by:
getResourceScope
in class P13nResource
- Returns
- EntitlementConstants.LEAF_NODE_ROLE_INHERITANCE.
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.