public class Domain
extends java.lang.Object
implements java.io.Serializable
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 and Description |
|---|
Domain() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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.