Skip to content

Commit d25c2f5

Browse files
committed
aes encode decode
1 parent 54d5915 commit d25c2f5

File tree

1 file changed

+4
-0
lines changed
  • springboot-starter-security-jwt/src/main/java/com/codingapi/springboot/security/jwt

1 file changed

+4
-0
lines changed

springboot-starter-security-jwt/src/main/java/com/codingapi/springboot/security/jwt/Token.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ public boolean isExpire(){
4949
}
5050

5151

52+
public String getPassword() throws IOException {
53+
return AESUtils.getInstance().decodeToBase64(password);
54+
}
55+
5256
public boolean canRestToken() {
5357
return !isExpire() && remindTime <= System.currentTimeMillis();
5458
}

0 commit comments

Comments
 (0)