引入 BCrypt 依赖

feature/security
ZhouXY108 2023-11-15 23:04:05 +08:00
parent 1976f7d828
commit 5ba888a9f2
1 changed files with 10 additions and 2 deletions

12
pom.xml
View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>xyz.zhouxy.plusone</groupId> <groupId>xyz.zhouxy.plusone</groupId>
@ -18,6 +17,7 @@
<guava.version>32.0.1-jre</guava.version> <guava.version>32.0.1-jre</guava.version>
<google-jsr305.version>3.0.2</google-jsr305.version> <google-jsr305.version>3.0.2</google-jsr305.version>
<joda-time.version>2.12.5</joda-time.version> <joda-time.version>2.12.5</joda-time.version>
<jbcrypt.version>0.4</jbcrypt.version>
</properties> </properties>
<dependencies> <dependencies>
@ -52,6 +52,14 @@
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency>
<groupId>org.mindrot</groupId>
<artifactId>jbcrypt</artifactId>
<version>${jbcrypt.version}</version>
</dependency>
<!-- test use only -->
<dependency> <dependency>
<groupId>ch.qos.logback</groupId> <groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId> <artifactId>logback-classic</artifactId>