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
public class ReauthenticationException extends SecurityException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReauthenticationException()
Constructs a newReauthenticationException
instance.ReauthenticationException(String msg)
Constructs a newReauthenticationException
instance with an initial message.ReauthenticationException(String msg, Throwable cause)
Constructs a newReauthenticationException
instance with an initial message and cause.ReauthenticationException(Throwable cause)
Constructs a newReauthenticationException
instance 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 Detail
-
ReauthenticationException
public ReauthenticationException()
Constructs a newReauthenticationException
instance. The message is left blank (null
), and no cause is specified.
-
ReauthenticationException
public ReauthenticationException(String msg)
Constructs a newReauthenticationException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
ReauthenticationException
public ReauthenticationException(Throwable cause)
Constructs a newReauthenticationException
instance with an initial cause. If a non-null
cause is specified, its message is used to initialize the message of thisReauthenticationException
; otherwise the message is left blank (null
).- Parameters:
cause
- the cause
-
-