| 
 | Cumulus4j API (1.2.0-SNAPSHOT) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cumulus4j.keymanager.SessionManager
public class SessionManager
 Manager for Sessions.
 
 There is one SessionManager for each AppServer and KeyStore.
 It provides the functionality to open and close sessions, expire them automatically after
 a certain time etc.
 
 This is not API! Use the classes and interfaces provided by org.cumulus4j.keymanager.api instead.
 
| Constructor Summary | |
|---|---|
| SessionManager(KeyStore keyStore) | |
| Method Summary | |
|---|---|
|  Session | acquireSession(String userName,
                             char[] password)Create a new unlocked session or open (unlock) a cached & currently locked session. | 
|  String | getCryptoSessionIDPrefix() | 
|  KeyStore | getKeyStore() | 
|  Session | getSessionForCryptoSessionID(String cryptoSessionID) | 
| protected  long | nextCryptoSessionSerial() | 
| protected  void | onDestroySession(Session session) | 
| protected  void | onReacquireSession(Session session) | 
|  void | onReleaseSession(Session session) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SessionManager(KeyStore keyStore)
| Method Detail | 
|---|
protected long nextCryptoSessionSerial()
public String getCryptoSessionIDPrefix()
public KeyStore getKeyStore()
protected void onReacquireSession(Session session)
public Session acquireSession(String userName,
                              char[] password)
                       throws AuthenticationException
Session.
AuthenticationException - if the login failsprotected void onDestroySession(Session session)
public Session getSessionForCryptoSessionID(String cryptoSessionID)
public void onReleaseSession(Session session)
| 
 | Cumulus4j API (1.2.0-SNAPSHOT) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||