void verifyToken(String token) throws TokenVerificationException {
        final SecretKey key = Keys.hmacShaKeyFor(this.signingKey.getBytes(StandardCharsets.UTF_8));
        final JwtParser parser = Jwts.parser()
                .verifyWith(key)
                .requireSubject(REQUIRED_SUBJECT)
                .requireIssuer(REQUIRED_ISSUER)
                .build();
        try {
            parser.parse(token);
        } catch (UnsupportedJwtException e) {
            throw new TokenVerificationException("Token format/configuration is not supported", e);
        } catch (Throwable e) {
            throw new TokenVerificationException(e);
        }
    }
@Test
    void testNoneAlgorithm() {
        final String key = "gTVfiF6A0pB70A3UP1EahpoR6LId9DdNadIkYNygK5Z8lpeJIpw9vN0jZ6fdsfeuV9KIg9gVLkCHIPj6FHW5Q9AvpOoGZO3h";
        final JwtTokenAuthFilter validator = new JwtTokenAuthFilter(key);
        Assertions.assertThatThrownBy(() -> validator.verifyToken(removeSignature(generateToken(key))))
                .isInstanceOf(TokenVerificationException.class)
                .hasMessageContaining("Token format/configuration is not supported");
    }