Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用jasypt工具集,增加基于springboot的配置加密能力。 #3267

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<slf4j-api.version>1.7.36</slf4j-api.version>
<junit-jupiter.version>5.9.2</junit-jupiter.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>

<jasypt-spring-boot-starter.version>3.0.3</jasypt-spring-boot-starter.version>
<groovy.version>4.0.10</groovy.version>

<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
Expand Down
6 changes: 5 additions & 1 deletion xxl-job-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@
<artifactId>xxl-job-core</artifactId>
<version>${project.parent.version}</version>
</dependency>

<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>${jasypt-spring-boot-starter.version}</version>
</dependency>
</dependencies>

<build>
Expand Down
4 changes: 2 additions & 2 deletions xxl-job-admin/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ server.port=8080
server.servlet.context-path=/xxl-job-admin

### actuator
management.server.servlet.context-path=/actuator
management.server.base-path=/actuator
management.health.mail.enabled=false

### resources
spring.mvc.servlet.load-on-startup=0
spring.mvc.static-path-pattern=/static/**
spring.resources.static-locations=classpath:/static/
spring.web.resources.static-locations=classpath:/static/

### freemarker
spring.freemarker.templateLoaderPath=classpath:/templates/
Expand Down