|
||||||||||
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.CredentialsException org.apache.shiro.authc.ExpiredCredentialsException
public class ExpiredCredentialsException
Thrown during the authentication process when the system determines the submitted credential(s) has expired and will not allow login.
This is most often used to alert a user that their credentials (e.g. password or cryptography key) has expired and they should change the value. In such systems, the component invoking the authentication might catch this exception and redirect the user to an appropriate view to allow them to update their password or other credentials mechanism.
Constructor Summary | |
---|---|
ExpiredCredentialsException()
Creates a new ExpiredCredentialsException. |
|
ExpiredCredentialsException(String message)
Constructs a new ExpiredCredentialsException. |
|
ExpiredCredentialsException(String message,
Throwable cause)
Constructs a new ExpiredCredentialsException. |
|
ExpiredCredentialsException(Throwable cause)
Constructs a new ExpiredCredentialsException. |
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 ExpiredCredentialsException()
public ExpiredCredentialsException(String message)
message
- the reason for the exceptionpublic ExpiredCredentialsException(Throwable cause)
cause
- the underlying Throwable that caused this exception to be thrown.public ExpiredCredentialsException(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 |