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.properties
for the migration.encryption.old-algorithm
the old algorithm, empty if not set previouslyencryption.old-password
the old password, empty if not set previously
encryption.algorithm
the new algorithm, empty if want to use defaultencryption.password
the new password (required)
-
-
Constructor Summary
Constructors Constructor Description EncryptedFieldService()
-