|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectweblogic.security.service.ResourceBase
com.bea.p13n.entitlements.resource.P13nResource
public abstract class P13nResource
| Field Summary | |
|---|---|
static String |
empty
Empty string |
| Fields inherited from class weblogic.security.service.ResourceBase |
|---|
id, length, NO_PARENT, parent, resStr, SCOPE_RESOURCE_ACTION, values |
| Fields inherited from interface weblogic.security.spi.SelfDescribingResource |
|---|
LIST_FIELD_TYPE, NORMAL_FIELD_TYPE, PATH_FIELD_TYPE, UNDEFINED_FIELD_TYPE |
| Constructor Summary | |
|---|---|
P13nResource()
No Args constructor |
|
P13nResource(SecurityResource securityResource,
String libraryResourceId,
String initialCapability)
Construct fields for security and library resources. |
|
| Method Summary | |
|---|---|
String |
getCapabilityName()
|
String |
getEntAppName()
Gets the application name associated with this resource |
String[] |
getKeys()
Gets keys for this resource. |
String |
getLibraryResourceId()
|
String |
getResourceName()
|
abstract int |
getResourceScope()
Implemented by P13nResource subclasses |
SecurityResource |
getSecurityResource()
Returns the resource object used to look for security policies. |
String |
getType()
Gets the type of this resource ( ApplicationResource). |
String |
getWebAppName()
|
Resource |
makeParent()
Gets a Resource object that represents the parent of the
current resource. |
void |
setInitialValues(String theInitialCapability,
String theLibRsrcId,
String theScope)
|
void |
setSecurityResource(SecurityResource theSecurityResource)
Sets the resource object used to look for security policies. |
String |
toString()
|
| Methods inherited from class weblogic.security.service.ResourceBase |
|---|
appendArrayValue, appendValue, equals, getFieldType, getID, getParentResource, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, reset, writeResourceString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String empty
| Constructor Detail |
|---|
public P13nResource(SecurityResource securityResource,
String libraryResourceId,
String initialCapability)
public P13nResource()
| Method Detail |
|---|
public abstract int getResourceScope()
public Resource makeParent()
Resource object that represents the parent of the
current resource. If the resource does not have a parent, the value of
null must be returned.This method is sensitive to the role scoping of this class instance. The following process is used to determine what should be returned as the parent Resource:
GlobalRoleResource => null parent
EnterpriseRoleResource => GlobalRoleResource parent
WebappRoleResource => EnterpriseRoleResource parent
HierarchyRoleResource => HierarchyRoleResource parent until appResourceId has been traversed, then => WebappRoleResource parent
LeafRoleResource => GlobalRoleResource parent
makeParent in class ResourceBaseResource object of the parent resource.public String[] getKeys()
getKeys in interface ResourcegetKeys in class ResourceBasepublic String getType()
ApplicationResource).
public SecurityResource getSecurityResource()
public void setSecurityResource(SecurityResource theSecurityResource)
public String toString()
toString in interface ResourcetoString in class ResourceBase
public void setInitialValues(String theInitialCapability,
String theLibRsrcId,
String theScope)
public String getEntAppName()
public String getWebAppName()
public String getResourceName()
public String getCapabilityName()
public String getLibraryResourceId()
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||