-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
Modify to use CryptoUtils.java in the common module instead of the one in PolicyEngineUtils with hard coded key.
It now supports loading the key from environment variable - System.getenv("AES_ENCRYPTION_KEY")
Or System Property - "org.onap.policy.encryption.aes.key"
It also can be specified in the individual app configuration.
PDP -> xacml.pdp.properties
PAP -> xacml.pap.properties
BRMSGW -> config.properties
CONSOLE -> xacml.admin.properties
Note that it is backwards compatible in that it does require a key to be provided and passwords to be encrypted. it will work with plain text passwords in configuration.
1.
|
encryption changes in common module | Closed | jc2555 |