Class DecryptEnvironmentPostProcessor

  • All Implemented Interfaces:
    org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered

    public class DecryptEnvironmentPostProcessor
    extends AbstractEnvironmentDecrypt
    implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
    Decrypt properties from the environment and insert them with high priority so they override the encrypted values.
    Author:
    Dave Syer, Tim Ysewyn
    • Constructor Detail

      • DecryptEnvironmentPostProcessor

        public DecryptEnvironmentPostProcessor()
    • Method Detail

      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setOrder

        public void setOrder​(int order)
      • postProcessEnvironment

        public void postProcessEnvironment​(org.springframework.core.env.ConfigurableEnvironment environment,
                                           org.springframework.boot.SpringApplication application)
        Specified by:
        postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessor
      • isEnabled

        protected Boolean isEnabled​(org.springframework.core.env.ConfigurableEnvironment environment)