Class InvalidTokenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidTokenException
    extends TokenException
    Indicates that the delegation token is invalid. The token may be invalid due to these and other reasons: - The token is malformed. - The token has unexpected content. An example of this is when the token doesn't contain any standard or custom claim. - Failed to calculate token signature or to verify it.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidTokenException

        public InvalidTokenException​(java.lang.String message)
      • InvalidTokenException

        public InvalidTokenException​(java.lang.Exception e)