mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 20:50:14 +08:00
v3.0.0 GA Integer to Long
This commit is contained in:
@@ -252,7 +252,7 @@ public class JwtAccessTokenConverter implements TokenEnhancer, AccessTokenConver
|
||||
Map<String, Object> map = objectMapper.parseMap(content);
|
||||
if (map.containsKey(EXP) && map.get(EXP) instanceof Integer) {
|
||||
Integer intValue = (Integer) map.get(EXP);
|
||||
map.put(EXP, new Long(intValue));
|
||||
map.put(EXP, Integer.toUnsignedLong(intValue));
|
||||
}
|
||||
return map;
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user