Class ExcessiveAttemptsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.authc.AuthenticationException
org.apache.shiro.authc.AccountException
org.apache.shiro.authc.ExcessiveAttemptsException
- All Implemented Interfaces:
Serializable
Thrown when a system is configured to only allow a certain number of authentication attempts
over a period of time and the current session has failed to authenticate successfully within
that number. The resulting action of such an exception is application-specific, but
most systems either temporarily or permanently lock that account to prevent further
attempts.
- Since:
- 0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ExcessiveAttemptsException.ExcessiveAttemptsException(String message) Constructs a new ExcessiveAttemptsException.ExcessiveAttemptsException(String message, Throwable cause) Constructs a new ExcessiveAttemptsException.Constructs a new ExcessiveAttemptsException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExcessiveAttemptsException
public ExcessiveAttemptsException()Creates a new ExcessiveAttemptsException. -
ExcessiveAttemptsException
Constructs a new ExcessiveAttemptsException.- Parameters:
message- the reason for the exception
-
ExcessiveAttemptsException
Constructs a new ExcessiveAttemptsException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
ExcessiveAttemptsException
Constructs a new ExcessiveAttemptsException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-