com.bea.p13n.entitlements.resource
Class P13nLibraryResource
java.lang.Object
weblogic.security.service.ResourceBase
com.bea.p13n.entitlements.resource.P13nResource
com.bea.p13n.entitlements.resource.P13nCachedResource
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
Methods inherited from class weblogic.security.service.ResourceBase |
appendArrayValue, appendValue, equals, getFieldType, getID, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, reset, writeResourceString |
P13nLibraryResource
public P13nLibraryResource(String entAppName,
String webAppName,
String appResourceID,
String capability,
String libraryResourceID)
- Construct a resource to be used for location of
security policies.
- Parameters
entAppName
- Enterprise application name.webAppName
- Webapp name.appResourceID
- Application-defined resource taxonomy Idcapability
- Optional application-defined capability to
evaluate. If no capability name is specified, a policy with no capability
name will be used if found.
getResourceScope
public final int getResourceScope()
- Return the resource type of this class.
- Specified by:
getResourceScope
in class P13nResource
- Returns
- EntitlementConstants.POLICY_LIBRARY_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.