diff --git a/bonus-auth/pom.xml b/bonus-auth/pom.xml index 11612ef..41c32a6 100644 --- a/bonus-auth/pom.xml +++ b/bonus-auth/pom.xml @@ -55,7 +55,7 @@ com.github.ulisesbocchio jasypt-spring-boot-starter - 3.0.2 + ${jasypt-spring-boot-starter.version} diff --git a/bonus-gateway/pom.xml b/bonus-gateway/pom.xml index 59ae83f..9edab95 100644 --- a/bonus-gateway/pom.xml +++ b/bonus-gateway/pom.xml @@ -90,7 +90,7 @@ com.github.ulisesbocchio jasypt-spring-boot-starter - 3.0.2 + ${jasypt-spring-boot-starter.version} diff --git a/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java b/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java index eaf16b2..423bda2 100644 --- a/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java +++ b/bonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java @@ -25,12 +25,10 @@ public class BonusGatewayApplication implements CommandLineRunner { private StringEncryptor encryptor; @Override public void run(String... args) throws Exception { - String nacos = encrypt("Jjsp@nacos2023" ); - String mogodb = encrypt("Bonus@admin123!" ); - System.err.println( "nacos原始明文密码加密后的结果为:" + nacos ); - System.err.println( "mogodb原始明文密码加密后的结果为:" + mogodb ); -// String string = decrypt("ENC(b8K5x5rjN7qdGdmhgzFayK/P6ZVbC/UNBHjx2SBJkoqU149aXRtJsFhDZcgpckFf)"); -// System.err.println( "明文结果为:" + string ); +// String encryptStr = encrypt("f648524d-0a7b-449e-8f92-64e05236fd51" ); +// System.err.println( "原始明文密码加密后的结果为:" + encryptStr ); +// String decrtyptStr = decrypt("ENC(b8K5x5rjN7qdGdmhgzFayK/P6ZVbC/UNBHjx2SBJkoqU149aXRtJsFhDZcgpckFf)"); +// System.err.println( "明文结果为:" + decrtyptStr ); } diff --git a/bonus-modules/bonus-gen/pom.xml b/bonus-modules/bonus-gen/pom.xml index 077fdae..b70056b 100644 --- a/bonus-modules/bonus-gen/pom.xml +++ b/bonus-modules/bonus-gen/pom.xml @@ -75,7 +75,7 @@ com.github.ulisesbocchio jasypt-spring-boot-starter - 3.0.2 + ${jasypt-spring-boot-starter.version} diff --git a/bonus-modules/bonus-system/pom.xml b/bonus-modules/bonus-system/pom.xml index 4737638..13eee10 100644 --- a/bonus-modules/bonus-system/pom.xml +++ b/bonus-modules/bonus-system/pom.xml @@ -16,7 +16,13 @@ - + + + + com.github.ulisesbocchio + jasypt-spring-boot-starter + ${jasypt-spring-boot-starter.version} + com.alibaba.cloud diff --git a/pom.xml b/pom.xml index 42982dc..5a6e628 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,7 @@ 8.2.2 4.1.2 2.14.4 + 3.0.2