Package com.axelor.db.converters
Class EncryptedFieldService
- java.lang.Object
-
- com.axelor.db.converters.EncryptedFieldService
-
public class EncryptedFieldService extends Object
The service can be used to migrate all the encrypted field values.This utility method
migrate()can be used to migrate encrypted field values if you want to change encryption algorithm or password or salt.Following encryption settings will be read from
axelor-config.propertiesfor the migration.encryption.old-algorithmthe old algorithm, empty if not set previouslyencryption.old-passwordthe old password, empty if not set previously
encryption.algorithmthe new algorithm, empty if want to use defaultencryption.passwordthe new password (required)
-
-
Constructor Summary
Constructors Constructor Description EncryptedFieldService()
-