Package org.wildfly.security.auth
Class ReauthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
org.wildfly.security.auth.ReauthenticationException
- All Implemented Interfaces:
Serializable
A run-time exception indicating that a reauthentication was required for an operation, but the reauthentication
failed, preventing the operation from proceeding. Reauthentication can happen when (for example) a persistent
connection is broken and reestablished, or an authentication session was forcibly terminated, or because a backing
system uses an authentication-per-request strategy, or other reasons.
- Author:
- David M. Lloyd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newReauthenticationExceptioninstance.Constructs a newReauthenticationExceptioninstance with an initial message.ReauthenticationException(String msg, Throwable cause) Constructs a newReauthenticationExceptioninstance with an initial message and cause.Constructs a newReauthenticationExceptioninstance with an initial cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReauthenticationException
public ReauthenticationException()Constructs a newReauthenticationExceptioninstance. The message is left blank (null), and no cause is specified. -
ReauthenticationException
Constructs a newReauthenticationExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
ReauthenticationException
Constructs a newReauthenticationExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisReauthenticationException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
ReauthenticationException
Constructs a newReauthenticationExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-