Encryption starter
Purpose
This stater enables encryption, and decryption, for sensible plugin parameters and databases password.
Configuration
Add stater dependency to your POM (version depends on the REGARDS BOM)
<dependency>
<groupId>fr.cnes.regards.framework</groupId>
<artifactId>encryption-starter</artifactId>
</dependency>
This stater defines its own properties. It can be found in CipherProperties class.
regards.cipher.key-location=<path to cipher key>
regards.cipher.iv=<value of initialization vector>
Autoconfiguration
Starter autoconfigures:
- IEncryptionService to manage encryption and decryption. By default we use AESEncryptionService.