Class SecurityTokenIntegrityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.util.IntegrityException
-
- de.aristaflow.adept2.base.sessionmanagement.SecurityTokenIntegrityException
-
- All Implemented Interfaces:
Serializable
public class SecurityTokenIntegrityException extends IntegrityException
ASecurityTokenIntegrityException
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 Summary
Constructors Constructor Description SecurityTokenIntegrityException(String message)
Creates a newSecurityTokenIntegrityException
to indicate that a security token has no integrity.SecurityTokenIntegrityException(String message, Throwable cause)
Creates a newSecurityTokenIntegrityException
to indicate that a security token has no integrity.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SecurityTokenIntegrityException
public SecurityTokenIntegrityException(String message)
Creates a newSecurityTokenIntegrityException
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 newSecurityTokenIntegrityException
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.
-
-