[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-jce] [iaik-ssl] Session Manager semantics



Hi Vadim,

On Thu, 10 Aug 2000 18:22:20 -0400, Vadim Grinshpun wrote:

>I wish the answer-to-question ratio here were a bit higher than it
>currently is... But here goes anyway :)
>Does the session management code ever call SessionManager.cacheSession() before
>calling SessionManager.getSession()?

I asked a similar question two weeks before. Here is the answer:

>>>>>>>>>>>>>>>

Hello,

By default iSaSiLk uses the DefaultSessionManager for session caching,
except when disablibing session cahcing (setSessionManager(null)) or
installing your own SessionManager -- either for a specific context:

sslContext.setSessionManager(mySessionManager);

or setting it as new DefaultSessionManager:

SessionManager.setDefault(mySessionManager);

Class SessionManager includes two abstract methods that have to be
implemented when writing your own SessionManager:

protected abstract void cacheSession(SSLTransport transport, Session
session);
protected abstract Session getSession(SSLTransport transport, Object
sessionID);

during the handshake procedure called from iSaSiLk s -- not public --
Handshaker classes to put respectively get Session-Objects into (from) the
Session cache.

Regards,
Dieter Bratko

-----Ursprngliche Nachricht-----
Von: iaik-jce-owner@iaik.tu-graz.ac.at
[mailto:iaik-jce-owner@iaik.tu-graz.ac.at]Im Auftrag von Andr Benvenuti
Gesendet: Mittwoch, 12. Juli 2000 09:57
An: iaik help desk
Betreff: [iaik-jce] SessionManager


Hi,

A few questions abaout SessionManager:

- must a session manager must be explicitely set in a SSLContext
to have one in use or is DefaultSessionManager per default set?

- who call the SessionManager methods (some are commented as
"For internal use")? Is it the socket constructor, who looks at the
SSLContext
for any SesionManager?

Thanks in advance, Andre



--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content:
UNSUBSCRIBE iaik-jce


>>>>>>>>>>>>>>>
>
>--
>Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html
>
>To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl
>

***************************************************************************
*                                                                         *
* IAIK S/MIME Mapper Security Info                                        *
* ===================================                                     *
*                                                                         *
* for message:                                                            *
*   From: "=?us-ascii?q?Andr=82_Benvenuti?=" <dedeben@freesurf.ch>        *
*   Date: Fri, 11 Aug 2000 08:39:40 +0200                                 *
*   Subject: Re: [iaik-jce] [iaik-ssl] Session Manager semantics          *
*                                                                         *
* Message S/MIME properties:                                              *
*                                                                         *
*   Encrypted using:    not encrypted                                     *
*                                                                         *
*   Digitally signed:   no                                                *
*   Signature valid:    n/a                                               *
*   Signature trusted   n/a                                               *
*                                                                         *
*                                                                         *
* Compliance with policy for email addresses *:                           *
*                                                                         *
*   Encryption:         OK (None or better required)                      *
*                                                                         *
*   Digital Signature:  OK (digital signature not required)               *
*                                                                         *
***************************************************************************