|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.security.context.Domain
public class Domain
An abstraction of the security domain obtained from the thread of execution.
In the AdminAgent the domain is the profile id string.
In non-AdminAgent servers the domain consists of two strings - an application name and an application type.
Constructor Summary | |
---|---|
Domain()
|
Method Summary | |
---|---|
java.lang.String |
getApplicationName()
Get the application name |
java.lang.String |
getApplicationType()
Get the application type |
java.lang.String |
getProfileId()
Get the AdminAgent profile id for this domain context. |
void |
setApplication(java.lang.String name,
java.lang.String type)
Set the application name and type The app name and type will determine the security configuration to use |
void |
setApplicationName(java.lang.String name)
Set the application name The app name and type will determine the security configuration to use |
void |
setApplicationType(java.lang.String type)
Set the application type The app name and type will determine the security configuration to use |
void |
setProfileId(java.lang.String profileId)
Set an AdminAgent profile id In the AdminAgent the profile id determines which profile's config to use |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Domain()
Method Detail |
---|
public void setApplication(java.lang.String name, java.lang.String type)
The app name and type will determine the security configuration to use
name
- the application nametype
- the application typepublic void setApplicationName(java.lang.String name)
The app name and type will determine the security configuration to use
name
- the application namepublic void setApplicationType(java.lang.String type)
The app name and type will determine the security configuration to use
type
- the application typepublic void setProfileId(java.lang.String profileId)
In the AdminAgent the profile id determines which profile's config to use
profileId
- the profile idpublic java.lang.String getApplicationName()
public java.lang.String getApplicationType()
public java.lang.String getProfileId()
If this context is not an AdminAgent context returns null.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |