|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
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.Scope
public class Scope
This class identify scope of credential entry
Credential entry can be scoped to webapp, enterprise application or domain(global).
The scope determine the visibility and name space of credential entry: webapp scoped entries are only visible to specific webapp. Entries with same name but scoped to different webapp are considered to be different entries.
Enterprise application scoped entries are visible to all webapps of an enterprise application.
Domain (Global) scoped entries are visible to all webapps of all enterprise applications within the domain.
Constructor Summary | |
---|---|
Scope(String entAppName, String webAppName) Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o) |
String |
getApplicationName() Get the enterprise application name of the scope |
static Scope |
getApplicationScope() Get enterprise application scope |
static Scope |
getDomainScope() Get domain scope |
static Scope |
getWebApplicationScope(javax.servlet.http.HttpServletRequest request) Get web application scope |
String |
getWebAppName() Get the web application name of the scope |
int |
hashCode() |
boolean |
isGlobal() Test where the scope is domain/global |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Scope(String entAppName, String webAppName)
entAppName
- The enterprise application name of the scopewebAppName
- The web application name of the scopeMethod Detail |
---|
public String getApplicationName()
public String getWebAppName()
public boolean isGlobal()
public static Scope getDomainScope()
Scope
object represent domain/global scopepublic static Scope getApplicationScope()
Scope
object represent enterprise application scopepublic static Scope getWebApplicationScope(javax.servlet.http.HttpServletRequest request)
request
- HttpRequest from web applicationScope
object represent web application scopepublic 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.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.