All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface iaik.security.ssl.SessionManager

public interface SessionManager
This is an interface of abstract methods to let the user implement his own policy of caching SSL sessions.

See Also:
DefaultSessionManager, Session

Method Index

 o cacheSession(Session)
Add this session to the session cache.
 o getSession(InetAddress, SessionID)
Get a session from the session cache.

Methods

 o cacheSession
 public abstract void cacheSession(Session session)
Add this session to the session cache.

Parameters:
session - the session to cache
 o getSession
 public abstract Session getSession(InetAddress peerAddress,
                                    SessionID sessionID)
Get a session from the session cache. Notice, that there is a difference whether this method is called from a client or a server.

Parameters:
peerAddress - the InetAddress of the peer
sessionID - a SessionID or null
Returns:
null>/code> if the session is not in the cache or the SessionManager wont resume this session; the cached session otherwise

All Packages  Class Hierarchy  This Package  Previous  Next  Index