Class JasyptSupportProperties

java.lang.Object
com.bytedesk.starter.config.properties.JasyptSupportProperties

@ConfigurationProperties(prefix="bytedesk.security.jasypt") public class JasyptSupportProperties extends Object
Centralized settings for Jasypt encryption so that we never have to commit secrets to the repository. Passwords should be provided through environment variables or external configuration.
  • Field Details

    • password

      private String password
      Optional password provided through a secure channel. Prefer the JASYPT_ENCRYPTOR_PASSWORD environment variable instead of setting it here.
    • algorithm

      private String algorithm
    • stringOutputType

      private String stringOutputType
    • ivGeneratorClassName

      private String ivGeneratorClassName
    • saltGeneratorClassName

      private String saltGeneratorClassName
    • poolSize

      private int poolSize
    • keyObtentionIterations

      private int keyObtentionIterations
    • failOnMissingPassword

      private boolean failOnMissingPassword
      Fail fast when the password is missing. Set to false only when running locally without encrypted values.
    • providerClassName

      private String providerClassName
      Optional provider class name (e.g. org.bouncycastle.jce.provider.BouncyCastleProvider).
  • Constructor Details

    • JasyptSupportProperties

      public JasyptSupportProperties()