com.ibm.wsspi.security.context
Class ContextManager
- java.lang.Object
com.ibm.wsspi.security.context.ContextManager
- public abstract class ContextManager
- extends java.lang.Object
Version:
Base Enablement iFix for v6.1
Field Summary
Modifier and Type | Field and Description |
---|---|
|
DESERIALIZE_ASYNCH_LOGIN
A JAAS login module optional property.
|
|
DESERIALIZE_ASYNCH_LOGIN_RENEW
A JAAS login module optional property.
|
Constructor Summary
Constructor and Description |
---|
ContextManager()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getContext()
Returns a new instance of the serializable security
Context .
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
DESERIALIZE_ASYNCH_LOGIN_RENEW
- public static final java.lang.String DESERIALIZE_ASYNCH_LOGIN_RENEW
See Also:
DESERIALIZE_ASYNCH_LOGIN
- public static final java.lang.String DESERIALIZE_ASYNCH_LOGIN
A JAAS login module optional property.
This property is used by the JAAS system login module
com.ibm.ws.security.server.lm.wsMapDefaultInboundLoginModule
The valid property values are "true" or "false". If not specified, the value "true" is assumed.
See Also:
Constructor Detail
ContextManager
- public ContextManager()
Method Detail
getContext
- public static Context getContext( )
- throws com.ibm.websphere.security.WSSecurityException
Returns a new instance of the serializable security
Context
.
The Context
returned may be saved to persistent storage and later restored for use by an application.
Operations are defined in the Context
interface to set the state of the restored security context on the
current thread of execution.
Returns:
a new instance of the serializable security
Context
. Throws:
com.ibm.websphere.security.WSSecurityException
- if any errors are encountered. See Also:
com.ibm.ws.security.server.lm.wsMapDefaultInboundLoginModule
to control whether or not the expiration time of renewable security tokens in theContext
will be refreshed during the login process if they have expired.The valid property values are "true" or "false". If not specified, the value "true" is assumed.