com.ibm.wsspi.security.context

Class ContextManager

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.security.context.ContextManager

  1. public abstract class ContextManager
  2. extends java.lang.Object
Defines a factory SPI to obtain an instance of the serializable security context from the thread of execution.
Version:
Base Enablement iFix for v6.1

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
DESERIALIZE_ASYNCH_LOGIN
A JAAS login module optional property.
  1. static
  2. java.lang.String
DESERIALIZE_ASYNCH_LOGIN_RENEW
A JAAS login module optional property.

Constructor Summary

Constructor and Description
ContextManager()

Method Summary

Modifier and Type Method and Description
  1. static
  2. Context
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

  1. public static final java.lang.String DESERIALIZE_ASYNCH_LOGIN_RENEW
A JAAS login module optional property. This property is used by the JAAS system login module com.ibm.ws.security.server.lm.wsMapDefaultInboundLoginModule to control whether or not the expiration time of renewable security tokens in the Context 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.

See Also:

DESERIALIZE_ASYNCH_LOGIN

  1. 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

  1. public ContextManager()

Method Detail

getContext

  1. public static Context getContext( )
  2. 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: