|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.technicalconnector.session.impl.SessionItemImpl
public class SessionItemImpl
Implementation of SessionItem
.
Constructor Summary | |
---|---|
SessionItemImpl()
Instantiates a new session item. |
Method Summary | |
---|---|
Credential |
getEncryptionCredential()
Gets the personal credential. |
Crypto |
getEncryptionCrypto()
Gets the crypto associated with the Encryption credentials |
Map<String,PrivateKey> |
getEncryptionPrivateKeys()
Gets the personaldecryption keys. |
Credential |
getHeaderCredential()
|
Credential |
getHolderOfKeyCredential()
Gets the system credential. |
Crypto |
getHolderOfKeyCrypto()
Gets the crypto associated with the HOK credentials |
Map<String,PrivateKey> |
getHolderOfKeyPrivateKeys()
Gets the system decryption keys. |
SAMLToken |
getSAMLToken()
Gets the sAML token. |
void |
setEncryptionCredential(Credential encryptionCredential)
Sets the personal credential. |
void |
setEncryptionPrivateKeys(Map<String,PrivateKey> encryptionPrivateKeys)
Sets the personaldecryption keys. |
void |
setHeaderCredential(Credential headerCredential)
|
void |
setHolderOfKeyCredential(Credential hokCredential)
Sets the system credential. |
void |
setHolderOfKeyPrivateKeys(Map<String,PrivateKey> hokPrivateKeys)
Sets the system decryption keys. |
void |
setSAMLToken(SAMLToken token)
This method will set the samltoken when created |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionItemImpl()
BusinessConnectorException
Method Detail |
---|
public void setSAMLToken(SAMLToken token)
SessionItem
setSAMLToken
in interface SessionItem
SessionItem.setSAMLToken(be.ehealth.technicalconnector.service.sts.security.SAMLToken)
public final SAMLToken getSAMLToken()
SessionItem
getSAMLToken
in interface SessionItem
SessionItem.getSAMLToken()
public final void setHolderOfKeyCredential(Credential hokCredential)
SessionItem
setHolderOfKeyCredential
in interface SessionItem
hokCredential
- the hok credentialSessionItem.setHolderOfKeyCredential(be.ehealth.technicalconnector.service.sts.security.Credential)
public final Credential getHolderOfKeyCredential()
SessionItem
getHolderOfKeyCredential
in interface SessionItem
SessionItem.getHolderOfKeyCredential()
public final void setHolderOfKeyPrivateKeys(Map<String,PrivateKey> hokPrivateKeys)
SessionItem
setHolderOfKeyPrivateKeys
in interface SessionItem
hokPrivateKeys
- the system decryption keysSessionItem.setHolderOfKeyPrivateKeys(java.util.Map)
public final Map<String,PrivateKey> getHolderOfKeyPrivateKeys()
SessionItem
getHolderOfKeyPrivateKeys
in interface SessionItem
SessionItem.getHolderOfKeyPrivateKeys()
public final void setEncryptionCredential(Credential encryptionCredential)
SessionItem
setEncryptionCredential
in interface SessionItem
encryptionCredential
- the new personal credentialSessionItem.setEncryptionCredential(be.ehealth.technicalconnector.service.sts.security.Credential)
public final Credential getEncryptionCredential()
SessionItem
getEncryptionCredential
in interface SessionItem
SessionItem.getEncryptionCredential()
public final void setEncryptionPrivateKeys(Map<String,PrivateKey> encryptionPrivateKeys)
SessionItem
setEncryptionPrivateKeys
in interface SessionItem
encryptionPrivateKeys
- the personaldecryption keysSessionItem.setEncryptionPrivateKeys(java.util.Map)
public final Map<String,PrivateKey> getEncryptionPrivateKeys()
SessionItem
getEncryptionPrivateKeys
in interface SessionItem
SessionItem.getEncryptionPrivateKeys()
public Crypto getHolderOfKeyCrypto() throws TechnicalConnectorException
SessionItem
getHolderOfKeyCrypto
in interface SessionItem
TechnicalConnectorException
SessionItem.getHolderOfKeyCrypto()
public Crypto getEncryptionCrypto() throws TechnicalConnectorException
SessionItem
getEncryptionCrypto
in interface SessionItem
TechnicalConnectorException
SessionItem.getEncryptionCrypto()
public void setHeaderCredential(Credential headerCredential) throws TechnicalConnectorException
setHeaderCredential
in interface SessionItem
headerCredential
- the headerCredential to set
TechnicalConnectorException
SessionItem.setHeaderCredential(be.ehealth.technicalconnector.service.sts.security.Credential)
public Credential getHeaderCredential() throws TechnicalConnectorException
getHeaderCredential
in interface SessionItem
TechnicalConnectorException
SessionItem.getHeaderCredential()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |