public final class Session extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENCRYPTION_KEYSTORE
Key that identifies the encryption keystore in the keystore map.
|
static String |
HOLDEROFKEY_KEYSTORE
Key that identifies the holder of key keystore in the keystore map.
|
static String |
IDENTIFICATION_KEYSTORE
Key that identifies the identification keystore in the keystore map.
|
Modifier and Type | Method and Description |
---|---|
static SessionManager |
getInstance()
Gets the single instance of SessionManager.
|
static SAMLToken |
getSAMLToken()
Convenience method to get the SAML token associated with the session.
|
static void |
setSessionManager(SessionManager sessionManager)
Sets the session manager.
|
static void |
validateSession()
Convenience method to validate session exists.
|
public static final String IDENTIFICATION_KEYSTORE
public static final String HOLDEROFKEY_KEYSTORE
public static final String ENCRYPTION_KEYSTORE
public static SessionManager getInstance()
public static void setSessionManager(SessionManager sessionManager)
sessionManager
- the new session managerpublic static SAMLToken getSAMLToken()
public static void validateSession() throws TechnicalConnectorException
TechnicalConnectorException
Connector Packaging TECHNICAL 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.