|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.service.ResourceBase | +--com.bea.security.ResourceAction
ResourceAction is a wrapper class that integrates the separated Resource/Action into a compatible form for consumption by the SPI. By extending ResourceBase, it takes advantage of its object caching abilities and interfaces with SelfDescribingResource according to a NamingAuthority's rules. Each NameAttributeType maps directly to a SelfDescribingResource field type.
Field Summary | |
protected java.lang.Integer[] |
fieldtypes
Array of field types for this resource |
protected java.lang.String[] |
keys
Array of keys for this resource |
protected RuntimeAction |
rAction
A reference to the RuntimeAction this encapsulates |
protected RuntimeResource |
rResource
A reference to the RuntimeResource this encapsulates |
Fields inherited from class weblogic.security.service.ResourceBase |
id,
length,
NO_PARENT,
parent,
resStr,
SCOPE_RESOURCE_ACTION,
values |
Constructor Summary | |
ResourceAction(RuntimeResource res,
RuntimeAction act)
Construct this object given a RuntimeResource and a RuntimeAction. |
Method Summary | |
RuntimeAction |
getAction()
Get the RuntimeAction as embedded in this class. |
java.lang.String[] |
getKeys()
Get the keys from within this resource |
RuntimeResource |
getResource()
Get the RuntimeResource as embedded in this class, which is ruled by a Name Authority |
java.lang.String |
getType()
Get the type of this resource - the name of the resource authority |
java.lang.String[] |
getValues()
Get the values from within this resource |
protected weblogic.security.spi.Resource |
makeParent()
Make this resource's parent |
java.lang.String |
toString()
We need to override the toString method only to ensure that the values have been calculated before we run the base class's toString method |
Methods inherited from class weblogic.security.service.ResourceBase |
appendArrayValue,
appendValue,
equals,
getID,
getParentResource,
getRepeatingFieldIndex,
getRepeatingFieldTerminatingIndex,
hashCode,
init,
init,
reset,
writeResourceString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected RuntimeResource rResource
protected RuntimeAction rAction
protected java.lang.String[] keys
protected java.lang.Integer[] fieldtypes
Constructor Detail |
public ResourceAction(RuntimeResource res, RuntimeAction act)
res
- A RuntimeResource
as passed through the public API.act
- A RuntimeAction
as passed through the public API.Method Detail |
public RuntimeResource getResource()
public RuntimeAction getAction()
public java.lang.String[] getKeys()
public java.lang.String[] getValues()
public java.lang.String getType()
protected weblogic.security.spi.Resource makeParent()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |