Package org.apache.shiro.authc.pam
Class ShortCircuitIterationException
-
-
-
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authc.AuthenticationException
-
- org.apache.shiro.authc.pam.ShortCircuitIterationException
-
-
-
-
- All Implemented Interfaces:
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.message)
Constructs a new ShortCircuitIterationException.message, cause)
Constructs a new ShortCircuitIterationException.cause)
Constructs a new ShortCircuitIterationException.
-
-
-
Constructor Detail
-
ShortCircuitIterationException
public ShortCircuitIterationException()
Creates a new ShortCircuitIterationException.
-
ShortCircuitIterationException
public ShortCircuitIterationException( message)
Constructs a new ShortCircuitIterationException.- Parameters:
message
- the reason for the exception
-
ShortCircuitIterationException
public ShortCircuitIterationException( cause)
Constructs a new ShortCircuitIterationException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
ShortCircuitIterationException
public ShortCircuitIterationException( message, cause)
Constructs a new ShortCircuitIterationException.- Parameters:
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.
-
-