org.apache.geronimo.corba.security
Class SSLSessionManager

java.lang.Object
  extended by org.apache.geronimo.corba.security.SSLSessionManager

public final class SSLSessionManager
extends Object

Stores requests' SSL sessions so that they may be shared amongst portable interceptors. We use this singleton instead of using a ThreadLocal because we cannot guarantee that interceptors will be called under the same thread for a single request.

TODO: There may be an error where the interceptor does not remove the registered session. We should have a daemon that cleans up old requests.


Constructor Summary
SSLSessionManager()
           
 
Method Summary
static SSLSession clearSSLSession(int requestId)
           
static SSLSession getSSLSession(int requestId)
           
static void setSSLSession(int requestId, SSLSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLSessionManager

public SSLSessionManager()
Method Detail

getSSLSession

public static SSLSession getSSLSession(int requestId)

setSSLSession

public static void setSSLSession(int requestId,
                                 SSLSession session)

clearSSLSession

public static SSLSession clearSSLSession(int requestId)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.