Repository with examples of how to configure Jasypt library with Spring Boot
- master: empty spring boot project
- jasypt_auto_configuration: version with default Jasypt configuration
- jasypt_custom_configuration: version with custom Jasypt configuration
To run this project, you will need to have installed:
JAVA 17
MAVEN
Clone the project
git clone https://github.com/WRup/jasypt-spring-boot.git
Go to the project directory
cd jasypt-spring-boot
Checkout to one of existing branches
git checkout jasypt_auto_configuration
or
git checkout jasypt_custom_configuration
Install
mvn clean install
Go to the project directory
cd target
Run the application
- for jasypt_auto_configuration branch
java -jar -Djasypt.encryptor.password='Pa55word!Us3D_F0r#Alg0RiTHm' jasypt-demo-0.0.1-SNAPSHOT.jar
- for jasypt_custom_configuration branch
java -jar -Dencryption.password='Pa55word!Us3D_F0r#Alg0RiTHm' jasypt-demo-0.0.1-SNAPSHOT.jar