|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionManager
The Interface SessionManager.
| Method Summary | |
|---|---|
SessionItem |
createFallbackSession(String hokPwd)
Creates a fallback session using a eHealth certificate stored on the computer. |
SessionItem |
createFallbackSession(String hokPwd,
String encryptionPwd)
Creates a fallback session using a eHealth certificate stored on the computer. |
SessionItem |
createFallbackSession(String identPwd,
String hokPwd,
String encryptionPwd)
Creates a fallback session using a eHealth certificate stored on the computer. |
SessionItem |
createSession(String hokPwd)
Creates a session using the certificate on the eID of the user and an holder of key certificate stored on the computer. |
SessionItem |
createSession(String hokPwd,
String encryptionPwd)
Creates a session using the certificate on the eID of the user and an holder of key certificate stored on the computer. |
SessionItem |
createSessionEidOnly()
Creates a session only based on eid card. |
SessionItem |
getSession()
Gets the current session. |
boolean |
hasValidSession()
Checks for valid session. |
void |
loadEncryptionKeys(String encryptionPwd)
|
void |
loadSession(SAMLToken token,
String hokPwd)
Load a session using a previously stored SAML token. |
void |
loadSession(SAMLToken token,
String hokPwd,
String encryptionPwd)
Load a session using a previously stored SAML token with the associated eHealth Encryption Certificates, needed for sealing and unsealing messages. |
void |
registerSessionService(SessionServiceWithCache serviceWithCache)
This method will register all the session service with a cache. |
void |
setKeyStore(Map<String,KeyStore> keystores)
Method to set the keyStores that the sessionManagment should use. |
void |
unloadSession()
Unload the current session. |
| Method Detail |
|---|
void loadSession(SAMLToken token,
String hokPwd)
throws TechnicalConnectorException
token - the token to loadhokPwd - the holder of key password
TechnicalConnectorException - the technical connector exception
void loadSession(SAMLToken token,
String hokPwd,
String encryptionPwd)
throws TechnicalConnectorException
token - the token to loadhokPwd - the holder of key passwordencryptionPwd - the encryption of key password
TechnicalConnectorException
SessionItem createSessionEidOnly()
throws TechnicalConnectorException
SessionItem not usable for encryption
TechnicalConnectorException
SessionItem createSession(String hokPwd)
throws SessionManagementException,
TechnicalConnectorException
hokPwd - the holder of key password
TechnicalConnectorException - the technical connector exception
SessionManagementException
SessionItem createSession(String hokPwd,
String encryptionPwd)
throws SessionManagementException,
TechnicalConnectorException
hokPwd - the holder of key passwordencryptionPwd - the encryption of key password
TechnicalConnectorException - the technical connector exception
SessionManagementException
SessionItem createFallbackSession(String hokPwd)
throws SessionManagementException,
TechnicalConnectorException
hokPwd - the holder of key password
TechnicalConnectorException - the technical connector exception
SessionManagementException
SessionItem createFallbackSession(String hokPwd,
String encryptionPwd)
throws SessionManagementException,
TechnicalConnectorException
hokPwd - the holder of key passwordencryptionPwd - the encryption of key password
TechnicalConnectorException - the technical connector exception
SessionManagementException
SessionItem createFallbackSession(String identPwd,
String hokPwd,
String encryptionPwd)
throws SessionManagementException,
TechnicalConnectorException
identPwd - the identification pwdhokPwd - the holder of key passwordencryptionPwd - the encryption of key password
TechnicalConnectorException - the technical connector exception
SessionManagementExceptionSessionItem getSession()
void unloadSession()
boolean hasValidSession()
throws SessionManagementException
SessionManagementException
void loadEncryptionKeys(String encryptionPwd)
throws TechnicalConnectorException
encryptionPwd - the encryption of key password
TechnicalConnectorExceptionvoid registerSessionService(SessionServiceWithCache serviceWithCache)
serviceWithCache - be.ehealth.technicalconnector.session.SessionManager#registreCacheCleaner(be.ehealth.businessconnector.CleanUpCache)void setKeyStore(Map<String,KeyStore> keystores)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||