com.ibm.wsspi.security.context
Class Domain
- java.lang.Object
com.ibm.wsspi.security.context.Domain
All implemented interfaces:
java.io.Serializable
- 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.
Version:
v7.0
See Also:
Constructor Summary
Constructor and Description |
---|
Domain()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getApplicationName()
Get the application name
|
|
getApplicationType()
Get the application type
|
|
getProfileId()
Get the AdminAgent profile id for this domain context.
|
|
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
|
|
setApplicationName(java.lang.String name)
Set the application name
The app name and type will determine the security configuration to use
|
|
setApplicationType(java.lang.String type)
Set the application type
The app name and type will determine the security configuration to use
|
|
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
Domain
- public Domain()
Method Detail
setApplication
- public void setApplication(java.lang.String name,
- java.lang.String type)
Parameters:
name
- the application name type
- the application type setApplicationName
- public void setApplicationName( java.lang.String name)
Set the application name
The app name and type will determine the security configuration to use
Parameters:
name
- the application name setApplicationType
- public void setApplicationType( java.lang.String type)
Set the application type
The app name and type will determine the security configuration to use
Parameters:
type
- the application type setProfileId
- public void setProfileId(java.lang.String profileId)
Set an AdminAgent profile id
In the AdminAgent the profile id determines which profile's config to use
Parameters:
profileId
- the profile id getApplicationName
- public java.lang.String getApplicationName( )
Get the application name
Returns:
the application name
getApplicationType
- public java.lang.String getApplicationType( )
Get the application type
Returns:
the application type
getProfileId
- public java.lang.String getProfileId( )
Get the AdminAgent profile id for this domain context.
If this context is not an AdminAgent context returns null.
Returns:
the application type
The app name and type will determine the security configuration to use