@Override
    public NacosUser parseToken(String token) throws AccessException {
        if (!tokenMap.containsKey(token)) {
            Authentication authentication = jwtTokenManager.getAuthentication(token);
            String username = authentication.getName();
            if (username == null || username.isEmpty()) {
                throw new AccessException("invalid token, username is empty");
            }
            long expiredTime = TimeUnit.SECONDS.toMillis(jwtTokenManager.getExpiredTimeInSeconds(token));
            if (expiredTime <= System.currentTimeMillis()) {
                throw new AccessException("expired token");
            }
            NacosUser user = jwtTokenManager.parseToken(token);
            tokenMap.putIfAbsent(token, new TokenEntity(token, username, expiredTime, authentication, user));
            return user;
        }
        return tokenMap.get(token).getNacosUser();
    }
@Test
    void testParseToken() throws AccessException {
        assertNotNull(cachedJwtTokenManager.parseToken("token"));
    }