Class ConfigEncryptionUpgradeOperation

  • All Implemented Interfaces:
    org.craftercms.commons.upgrade.UpgradeOperation<String>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware

    public class ConfigEncryptionUpgradeOperation
    extends AbstractContentUpgradeOperation
    Implementation of AbstractContentUpgradeOperation that upgrades encrypted properties in configuration files.
    Since:
    3.1.9
    Author:
    joseross
    • Field Detail

      • DEFAULT_ENCRYPTED_PATTERN

        protected static String DEFAULT_ENCRYPTED_PATTERN
      • encryptedPattern

        protected Pattern encryptedPattern
      • textEncryptor

        protected org.craftercms.commons.crypto.TextEncryptor textEncryptor
    • Constructor Detail

      • ConfigEncryptionUpgradeOperation

        @ConstructorProperties({"studioConfiguration","textEncryptor"})
        public ConfigEncryptionUpgradeOperation​(StudioConfiguration studioConfiguration,
                                                org.craftercms.commons.crypto.TextEncryptor textEncryptor)