Pbm with TLS Session

Thierry Hanot <[email protected]> Thu, 6 Mar 2003 09:17:01 +0100
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <F520B214418AD4119F7000508BD90CC203F17415@ivhqsr02>
Hello 
I'm currently using a TLS JSEE Profile for secure my channels in a sessions.
In the server side , i want to detect session close. The problem is when the
session 
is created with the TCPSessionCreator.listen() the channel with the TLS
profile is open 
And the session is replace by a new secure session . 
Like i have no access to this session , i cannot add a session listener on
it for being informed of session close. 
Like the other channels are optionals depending of the services requested by
the client i cannot simply manage the session close by the channel
creation/destruction .
The simplest way is, i think, to set the listener of the old session ( the
TCP session ) 
to the new  secure session ( in the TLSJSSEProfile ). But perhaps  there is
a simplest way 
To do it . Is somebody can help me with that ?

Best regard 

Thierry Hanot 


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com