com.bea.p13n.entitlements.resource
Class WebappRoleResource
java.lang.Object
weblogic.security.service.ResourceBase
com.bea.p13n.entitlements.resource.P13nResource
com.bea.p13n.entitlements.resource.P13nCachedResource
com.bea.p13n.entitlements.resource.WebappRoleResource
- All Implemented Interfaces
- Serializable, Resource, SelfDescribingResource, SelfDescribingResourceV2
public class WebappRoleResource
- extends P13nCachedResource
The WebappRoleResource class is used to represent
an application defined resource for management and
runtime checking of role and security policies.
This class has special significance for the formation and runtime
checking of role policies associated with a resource. Role
policies will be collected at the web application scope, enterprise application
scope and global scope.
This class will search for security policies
beginning at the application resource leaf node and then
in a hiearchical manner, until located, using the P13nSecurityResource
class.
- 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 |
WebappRoleResource
public WebappRoleResource(String entAppName,
String webAppName,
String appResourceID,
String capability)
- Construct a resource whose role policies will be
scoped at the web application level
- 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.WEBAPP_ROLE_INHERITANCE.
Copyright © 2000, 2008, 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.