GlobalRoleResource Class
- public class GlobalRoleResource
extends P13nResource
The GlobalRoleResource 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 only 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.
-
Hierarchy
-
Object
ResourceBase
P13nResource
GlobalRoleResource
-
All Implemented Interfaces
-
Resource
, SelfDescribingResource
, Serializable
public final int |
-
getResourceScope ()
- Return the resource type of this class.
|
public String |
-
toString ()
- This method overrides the base class which will always
include a "type=app" in its string representation.
|
Methods from com.bea.p13n.entitlements.resource.P13nResource |
getCapabilityName , getEntAppName , getKeys , getResourceName , getSecurityResource , getType , getWebAppName , makeParent , setInitialValues , setSecurityResource ,
|
Methods from weblogic.security.service.ResourceBase |
appendArrayValue, appendValue, equals, getFieldType, getID, getKeys, getParentResource, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, makeParent, reset, toString, writeResourceString |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalRoleResource
public GlobalRoleResource(String
entAppName,
String
webAppName,
String
appResourceID,
String
capability)
- Construct a resource whose role policies will be
scoped at a global level
getResourceScope() Method
public final int getResourceScope()
Return the resource type of this class.
-
Overrides
-
P13nResource.getResourceScope()
Returns
- EntitlementConstants.GLOBAL_ROLE_INHERITANCE.
toString() Method
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.
-
Overrides
-
P13nResource.toString()