Class AmazonHSMSubmissionDataStorageService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.CayenneService
-
- com.avoka.fc.core.service.storage.AbstractSubmissionDataStorageService
-
- com.avoka.fc.core.service.storage.DatabaseSubmissionDataStorageService
-
- com.avoka.fc.core.service.storage.AmazonHSMSubmissionDataStorageService
-
- All Implemented Interfaces:
IServiceDefinitionAware
,ISubmissionDataStorageService
@Deprecated public class AmazonHSMSubmissionDataStorageService extends DatabaseSubmissionDataStorageService
Deprecated.Provides an Amazon CloudHSM submission data storage service. This is a DataStorageService that calls the Amazon HSM to encrypt the data. Amazon uses a Luna HSM model from Safenet. This requires the Luna Client to be installed on the transaction manager server located within Amazon As such the testing and deployment only support TM on Linux. The keys are kept on the HSM, TM only gets a handle to a key The HSM performs the encryption and decryption of data. the encrypted data is stored in the TM database.- Since:
- 4.3.2
-
-
Field Summary
-
Fields inherited from class com.avoka.fc.core.service.storage.DatabaseSubmissionDataStorageService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description AmazonHSMSubmissionDataStorageService()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ISubmissionDataEncryptor
getDataEncryptor()
Deprecated.boolean
initializeCryptoDataKey(Submission submission)
Deprecated.Delegate the Initialization of the crypto data key for the submission to the data encryptor This is called on Render to avoid a race condition TMR-2171 with multi simultaneous Dynamic Data Calls.void
setLunaHsmPassword(String lunaHsmPassword)
Deprecated.void
setLunaHsmSlotId(Integer lunaHsmSlotId)
Deprecated.-
Methods inherited from class com.avoka.fc.core.service.storage.DatabaseSubmissionDataStorageService
deleteAttachmentData, deleteSubmissionData, getAttachment, getSignatureReceipt, getSubmissionHistoryXml, getSubmissionReceipt, getSubmissionXml, storeAttachment, storeSignatureReceipt, storeSubmissionAndHistoryXml, storeSubmissionHistoryXml, storeSubmissionReceipt, storeSubmissionXml
-
Methods inherited from class com.avoka.fc.core.service.storage.AbstractSubmissionDataStorageService
decodeData, decryptText, encodeData, encryptText, getAttachmentsEncoding, getErrorLogService, getReceiptPdfEncoding, getServiceDefinition, getSubmissionHistoryXmlEncoding, getSubmissionXmlEncoding, hasExternalizeStorage, refetchEntity, setAttachmentsEncoding, setDataEncryptor, setReceiptPdfEncoding, setServiceDefinition, setSubmissionHistoryXmlEncoding, setSubmissionXmlEncoding
-
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
setLunaHsmPassword
public void setLunaHsmPassword(String lunaHsmPassword)
Deprecated.- Parameters:
lunaHsmPassword
- the lunaHsmPassword to set
-
setLunaHsmSlotId
public void setLunaHsmSlotId(Integer lunaHsmSlotId)
Deprecated.- Parameters:
lunaHsmSlotId
- the HSM slot id for the environment
-
initializeCryptoDataKey
public boolean initializeCryptoDataKey(Submission submission)
Deprecated.Delegate the Initialization of the crypto data key for the submission to the data encryptor This is called on Render to avoid a race condition TMR-2171 with multi simultaneous Dynamic Data Calls.- Specified by:
initializeCryptoDataKey
in interfaceISubmissionDataStorageService
- Overrides:
initializeCryptoDataKey
in classDatabaseSubmissionDataStorageService
- Parameters:
submission
- the submission to which the data key will be created- Returns:
- the boolean value returned by the data encryptor
- Since:
- 18.5.9
-
getDataEncryptor
protected ISubmissionDataEncryptor getDataEncryptor()
Deprecated.- Overrides:
getDataEncryptor
in classAbstractSubmissionDataStorageService
- Returns:
- the AwsHsmDataEncryptor
-
-