P13nSecurityResource Class

com.bea.p13n.entitlements.resource
P13nSecurityResource Class

public class P13nSecurityResource

    extends P13nResource
    implements SecurityResource

The SecurityResource class is used to represent an application defined resource for the runtime checking of security policies.

This class will search for security policies beginning at the application resource leaf node and then in a hiearchical manner, until located.


Hierarchy
Object
  ResourceBase
    P13nResource
      P13nSecurityResource
All Implemented Interfaces

Resource, SecurityResource, SelfDescribingResource, Serializable

Field Summary

   
Fields from  com.bea.p13n.entitlements.resource.P13nResource
empty
 
Fields from  weblogic.security.service.ResourceBase
id, length, NO_PARENT, parent, resStr, SCOPE_RESOURCE_ACTION, values
 
Fields from interface weblogic.security.spi.SelfDescribingResource
LIST_FIELD_TYPE, NORMAL_FIELD_TYPE, PATH_FIELD_TYPE, UNDEFINED_FIELD_TYPE
 

Constructor Summary

P13nSecurityResource(String entAppName, String webAppName, String appResourceID, String capability, int scopeOverride)

Construct a resource to be used for location of security policies.
P13nSecurityResource(String entAppName, String webAppName, String appResourceID, String capability)

Construct a resource to be used for location of security policies.
 

Method Summary

public final int
getResourceScope()
Return the resource type of this class.
 
Methods from  com.bea.p13n.entitlements.resource.P13nResource
getCapabilityName, getEntAppName, getKeys, getResourceName, getSecurityResource, getType, getWebAppName, makeParent, setInitialValues, setSecurityResource, toString
 
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
   
Methods from interface weblogic.security.spi.Resource
equals, getID, getKeys, getParentResource, getType, getValues, hashCode, toString
 
Methods from interface weblogic.security.spi.SelfDescribingResource
getFieldType, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex
 

Constructor Detail

P13nSecurityResource

public P13nSecurityResource(String entAppName, 
                            String webAppName, 
                            String appResourceID, 
                            String capability, 
                            int scopeOverride)
Construct a resource to be used for location of security policies.

P13nSecurityResource

public P13nSecurityResource(String entAppName, 
                            String webAppName, 
                            String appResourceID, 
                            String capability)
Construct a resource to be used for location of security policies.
 

Method Detail

getResourceScope() Method

public final int getResourceScope()
Return the resource type of this class.

Overrides
P13nResource.getResourceScope()

Returns

EntitlementConstants.SECURITY_POLICY_INHERITANCE.