|
@@ -120,7 +120,7 @@ public class SecureAES {
|
|
|
throw new AESDecryptException("token is null");
|
|
|
}
|
|
|
String[] tokens = headerToken.split("\\.");
|
|
|
- if (tokens.length != 2) {
|
|
|
+ if (tokens.length < 2) {
|
|
|
throw new AESDecryptException("token invalid parameter");
|
|
|
}
|
|
|
String encryptAccount = tokens[0]; // 加密的账号信息
|