diff --git a/pom.xml b/pom.xml
index d49362bb..3ccfd804 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,17 +92,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
-
- paketobuildpacks/builder-jammy-base:latest
-
-
-
- org.projectlombok
- lombok
-
-
-
org.apache.maven.plugins
diff --git a/src/main/java/com/chint/infrastructure/webconfig/JwtTokenAdminInterceptor.java b/src/main/java/com/chint/infrastructure/webconfig/JwtTokenAdminInterceptor.java
index da87d686..c0891c83 100644
--- a/src/main/java/com/chint/infrastructure/webconfig/JwtTokenAdminInterceptor.java
+++ b/src/main/java/com/chint/infrastructure/webconfig/JwtTokenAdminInterceptor.java
@@ -2,6 +2,7 @@ package com.chint.infrastructure.webconfig;
import com.chint.domain.aggregates.user.User;
import com.chint.infrastructure.util.BaseContext;
+import com.chint.infrastructure.util.Digest;
import com.chint.infrastructure.util.JWTUtil;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
@@ -30,8 +31,9 @@ public class JwtTokenAdminInterceptor implements HandlerInterceptor {
}
try {
- JWTUtil.verifyJWT(SECRET, token);
- var parseJWT = JWTUtil.parseJWT(SECRET, token);
+ String str = Digest.aesBack(token);
+ JWTUtil.verifyJWT(SECRET, str);
+ var parseJWT = JWTUtil.parseJWT(SECRET, str);
var withJwt = User.withJwt(parseJWT);
BaseContext.setCurrentUser(withJwt);
return true; // If verification succeeds, continue processing the request