Package io.pravega.auth
Class InvalidTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.pravega.auth.AuthException
-
- io.pravega.auth.TokenException
-
- io.pravega.auth.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
-
-
Constructor Summary
Constructors Constructor Description InvalidTokenException(java.lang.Exception e)InvalidTokenException(java.lang.String message)
-
Method Summary
-
Methods inherited from class io.pravega.auth.AuthException
getResponseCode
-
-