com.ibm.wsspi.security.context

Class ContextManager

  • java.lang.Object
    • com.ibm.wsspi.security.context.ContextManager


  • public abstract class ContextManager
    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
    • Constructor Summary

      Constructors 
      Constructor and Description
      ContextManager() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static 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

        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:
        Constant Field Values
      • 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:
        Constant Field Values
    • 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:
        Context
IBM WebSphere Application ServerTM
Release 9.0