Class ExpiredCredentialsException

All Implemented Interfaces:
Serializable

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.

Since:
0.1
See Also:
  • Constructor Details

    • ExpiredCredentialsException

      Creates a new ExpiredCredentialsException.
    • ExpiredCredentialsException

      Constructs a new ExpiredCredentialsException.
      Parameters:
      message - the reason for the exception
    • ExpiredCredentialsException

      Constructs a new ExpiredCredentialsException.
      Parameters:
      cause - the underlying Throwable that caused this exception to be thrown.
    • ExpiredCredentialsException

      public ExpiredCredentialsException(String message, Throwable cause)
      Constructs a new ExpiredCredentialsException.
      Parameters:
      message - the reason for the exception
      cause - the underlying Throwable that caused this exception to be thrown.