Class InvalidJwtException

  • All Implemented Interfaces:
    Serializable

    @ResponseStatus(code=BAD_REQUEST,
                    reason="Invalid JWT")
    public class InvalidJwtException
    extends org.springframework.security.core.AuthenticationException
    An authentication exception thrown when processing a JSON Web Token that could not be successfully parsed.
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidJwtException

        public InvalidJwtException​(String message,
                                   Throwable cause)
      • InvalidJwtException

        public InvalidJwtException​(String message)