Class SecurityTokenIntegrityException

  • All Implemented Interfaces:
    Serializable

    public class SecurityTokenIntegrityException
    extends IntegrityException
    A SecurityTokenIntegrityException indicates that a security token has no integrity. This is mainly caused by a signature that can not be verified, for instance due to the wrong key, or it does not contain a valid session token at all.
    Author:
    Ulrich Kreher
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityTokenIntegrityException

        public SecurityTokenIntegrityException​(String message)
        Creates a new SecurityTokenIntegrityException to indicate that a security token has no integrity.
        Parameters:
        message - The message for the exception.
      • SecurityTokenIntegrityException

        public SecurityTokenIntegrityException​(String message,
                                               Throwable cause)
        Creates a new SecurityTokenIntegrityException to indicate that a security token has no integrity.
        Parameters:
        message - The message for the exception.
        cause - The exception that indicates the invalid integrity and providing detailed information on the failure.