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 Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate booleanFail fast when the password is missing.private Stringprivate intprivate StringOptional password provided through a secure channel.private intprivate StringOptional provider class name (e.g. org.bouncycastle.jce.provider.BouncyCastleProvider).private Stringprivate String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
password
Optional password provided through a secure channel. Prefer the JASYPT_ENCRYPTOR_PASSWORD environment variable instead of setting it here. -
algorithm
-
stringOutputType
-
ivGeneratorClassName
-
saltGeneratorClassName
-
poolSize
private int poolSize -
keyObtentionIterations
private int keyObtentionIterations -
failOnMissingPassword
private boolean failOnMissingPasswordFail fast when the password is missing. Set to false only when running locally without encrypted values. -
providerClassName
Optional provider class name (e.g. org.bouncycastle.jce.provider.BouncyCastleProvider).
-
-
Constructor Details
-
JasyptSupportProperties
public JasyptSupportProperties()
-