Class EncryptablePropertySourceConverter

java.lang.Object
com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter

public class EncryptablePropertySourceConverter extends Object

EncryptablePropertySourceConverter class.

Version:
$Id: $Id
Author:
Ulises Bocchio
  • Constructor Details

  • Method Details

    • getPropertiesClass

      public static Class<org.springframework.core.env.PropertySource<?>> getPropertiesClass(String className)

      getPropertiesClass.

      Parameters:
      className - a String object
      Returns:
      a Class object
    • convertPropertySources

      public void convertPropertySources(org.springframework.core.env.MutablePropertySources propSources)

      convertPropertySources.

      Parameters:
      propSources - a MutablePropertySources object
    • makeEncryptable

      public <T> org.springframework.core.env.PropertySource<T> makeEncryptable(org.springframework.core.env.PropertySource<T> propertySource)

      makeEncryptable.

      Type Parameters:
      T - a T class
      Parameters:
      propertySource - a PropertySource object
      Returns:
      a PropertySource object
    • proxyMutablePropertySources

      public org.springframework.core.env.MutablePropertySources proxyMutablePropertySources(org.springframework.core.env.MutablePropertySources propertySources, EnvCopy envCopy)

      proxyMutablePropertySources.

      Parameters:
      propertySources - a MutablePropertySources object
      envCopy - a EnvCopy object
      Returns:
      a MutablePropertySources object
    • convertMutablePropertySources

      public org.springframework.core.env.MutablePropertySources convertMutablePropertySources(InterceptionMode mode, org.springframework.core.env.MutablePropertySources originalPropertySources, EnvCopy envCopy)

      convertMutablePropertySources.

      Parameters:
      mode - a InterceptionMode object
      originalPropertySources - a MutablePropertySources object
      envCopy - a EnvCopy object
      Returns:
      a MutablePropertySources object