|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.AccountException org.apache.shiro.authc.DisabledAccountException org.apache.shiro.authc.LockedAccountException
public class LockedAccountException
A special kind of DisabledAccountException, this exception is thrown when attempting to authenticate and the corresponding account has been disabled explicitly due to being locked.
For example, an account can be locked if an administrator explicitly locks an account or perhaps an account can be locked automatically by the system if too many unsuccessful authentication attempts take place during a specific period of time (perhaps indicating a hacking attempt).
Constructor Summary | |
---|---|
LockedAccountException()
Creates a new LockedAccountException. |
|
LockedAccountException(String message)
Constructs a new LockedAccountException. |
|
LockedAccountException(String message,
Throwable cause)
Constructs a new LockedAccountException. |
|
LockedAccountException(Throwable cause)
Constructs a new LockedAccountException. |
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 LockedAccountException()
public LockedAccountException(String message)
message
- the reason for the exceptionpublic LockedAccountException(Throwable cause)
cause
- the underlying Throwable that caused this exception to be thrown.public LockedAccountException(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 |