Class EncryptionUpgradeOperation
- java.lang.Object
-
- org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
-
- org.craftercms.deployer.impl.upgrade.operations.EncryptionUpgradeOperation
-
- All Implemented Interfaces:
org.craftercms.commons.upgrade.UpgradeOperation<Target>
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class EncryptionUpgradeOperation extends org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<Target>
Implementation ofAbstractUpgradeOperation
that updates all encrypted values in the target configuration.- Since:
- 3.1.9
- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DEFAULT_ENCRYPTED_PATTERN
protected Pattern
encryptedPattern
protected org.craftercms.commons.crypto.TextEncryptor
textEncryptor
-
Constructor Summary
Constructors Constructor Description EncryptionUpgradeOperation(org.craftercms.commons.crypto.TextEncryptor textEncryptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(org.craftercms.commons.upgrade.impl.UpgradeContext<Target> context)
-