|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.security.management.credentials.ResourceKey
public class ResourceKey
This class represents the resource requesting a credential entry
Constructor Summary | |
---|---|
ResourceKey(Scope scope,
String resourceId)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getResourceId()
Get the web application name the resource scoped to |
Scope |
getScope()
Get the scope of the resource |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceKey(Scope scope, String resourceId)
scope
- the scope of the resource. If null
, the resource will be considered as global resource.resourceId
- The unique name identifying the resource
The id should be carefully choosen to identify the resource instance within its enterprise and web app scope. Different instances of same resource type should have different id.
e.g. for a portlet instance, the resource id can be "myPortal/myDesktop/Page1/portletLable1"
.
All the necessary fields from the sample resource id can be retrieved via PortletBackingContext object
NOTE: resourceId with null
value is treated as same as an empty string
com.bea.p13n.security.management.credentials.Scope#getDomainScope()}
,
com.bea.p13n.security.management.credentials.Scope#getApplicationName()}
,
com.bea.p13n.security.management.credentials.Scope#getWebApplicationScope(javax.servlet.http.HttpServletRequest)}
Method Detail |
---|
public String getResourceId()
public Scope getScope()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |