|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.ShiroException
org.apache.shiro.authc.AuthenticationException
org.apache.shiro.authc.AccountException
org.apache.shiro.authc.ExcessiveAttemptsException
public class ExcessiveAttemptsException
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.
| Constructor Summary | |
|---|---|
ExcessiveAttemptsException()
Creates a new ExcessiveAttemptsException. |
|
ExcessiveAttemptsException(String message)
Constructs a new ExcessiveAttemptsException. |
|
ExcessiveAttemptsException(String message,
Throwable cause)
Constructs a new ExcessiveAttemptsException. |
|
ExcessiveAttemptsException(Throwable cause)
Constructs a new ExcessiveAttemptsException. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExcessiveAttemptsException()
public ExcessiveAttemptsException(String message)
message - the reason for the exceptionpublic ExcessiveAttemptsException(Throwable cause)
cause - the underlying Throwable that caused this exception to be thrown.
public ExcessiveAttemptsException(String message,
Throwable cause)
message - the reason for the exceptioncause - the underlying Throwable that caused this exception to be thrown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||