Package org.apache.shiro.authc.pam
Class ShortCircuitIterationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authc.AuthenticationException
-
- org.apache.shiro.authc.pam.ShortCircuitIterationException
-
- All Implemented Interfaces:
Serializable
public class ShortCircuitIterationException extends AuthenticationException
Exception thrown during the authentication process usingFirstSuccessfulStrategy
, withstopAfterFirstSuccess
set. This is a signal to short circuit the authentication from proceeding with subsequentRealm
s after a first successful authentication.- Since:
- 1.4.1
- See Also:
AuthenticationStrategy
,FirstSuccessfulStrategy
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShortCircuitIterationException()
Creates a new ShortCircuitIterationException.ShortCircuitIterationException(String message)
Constructs a new ShortCircuitIterationException.ShortCircuitIterationException(String message, Throwable cause)
Constructs a new ShortCircuitIterationException.ShortCircuitIterationException(Throwable cause)
Constructs a new ShortCircuitIterationException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ShortCircuitIterationException
public ShortCircuitIterationException()
Creates a new ShortCircuitIterationException.
-
ShortCircuitIterationException
public ShortCircuitIterationException(String message)
Constructs a new ShortCircuitIterationException.- Parameters:
message
- the reason for the exception
-
ShortCircuitIterationException
public ShortCircuitIterationException(Throwable cause)
Constructs a new ShortCircuitIterationException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-