|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlatformContext
Interface representing a client context with the provisioning platform. A context must be established with the platform before any users can make use of the platform's applications. Users must be authenticated to the platform individually. However, the platform itself also requires that the client of the applications at a system level must also authenticate. This authentication is performed at the the platform context level. Since the client may be remote, network location information will also be required.
Field Summary | |
---|---|
static java.lang.String |
PLATFORM_CREDENTIALS
Property name of the principal's authentication credentials. |
static java.lang.String |
PLATFORM_PRINCIPAL
Property name of the system level calling principal of the context. |
static java.lang.String |
PLATFORM_REALM
Property name of the principal's realm. |
static java.lang.String |
PLATFORM_URL
Platform URL property name. |
Method Summary | |
---|---|
void |
close()
Closes the platform context, freeing up any system resources that may have been allocated for the context. |
java.util.Hashtable |
getEnvironment()
Returns the environment the client used to define the context. |
java.lang.Object |
getEnvProperty(java.lang.Object propertyName)
Returns the environment property with the given name. |
java.lang.Long |
getID()
Returns the unique identifier of the platform context. |
Field Detail |
---|
static final java.lang.String PLATFORM_URL
static final java.lang.String PLATFORM_PRINCIPAL
static final java.lang.String PLATFORM_CREDENTIALS
static final java.lang.String PLATFORM_REALM
Method Detail |
---|
java.util.Hashtable getEnvironment()
java.lang.Object getEnvProperty(java.lang.Object propertyName)
propertyName
- Name of the property to retrieve.
java.lang.Long getID()
void close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |