Page History
...
Alternatively, this property can be passed to the JVM as a command line parameter:
Code Block | ||
---|---|---|
| ||
-Dblueriq.properties.encryption.password=190f704dcab801253434864b03d498be04e7cb7407063eb5df41101e313ea32f |
...
Please note the following:
- The application decrypts properties at startup. If decryption fails, the application will not start. Usual causes are that no password is configured or that the encryption password was not the password that the property was encrypted with.
- Contrary to the old mechanism, any property can be encrypted.
Customizing property encryption
The property encryption mechanism uses sensible defaults. If you want to customize the way your properties are encrypted/decrypted, you can add an org.jasypt.encryption.pbe.PBEStringEncryptor
bean to your project. You can reference this bean by setting this property:
Code Block | ||||
---|---|---|---|---|
| ||||
jasypt.encryptor.bean: <name_of_the_custom_bean> |
Note you have to provide your own encryptor application. BlueriqEncryptor (see below) only works for non-customized encryption.
Encrypting passwords with the Blueriq Encryptor
The BlueriqEncryptor is located in the Runtime\Java\Webapp\Tools folder in the release zip. This is a java Java console application which that can be used to create encrypted passwords to be used for password properties in the Runtime.
...
Legacy encrypted properties can be recognized from the _-_encryptedValue_-_
prefix.
Customizing property encryption (Blueriq 12.10+)
The property encryption mechanism uses sensible defaults. If you want to customize the way your properties are encrypted/decrypted, you can add an org.jasypt.encryption.pbe.PBEStringEncryptor
bean to your project. You can reference this bean by setting this property:
Code Block | ||||
---|---|---|---|---|
| ||||
jasypt.encryptor.bean = <name_of_the_custom_bean> |
Note you have to provide your own encryptor application. Blueriq Encryptor (see below) only works for non-customized encryption.