Class CredentialsExpiredException

All Implemented Interfaces:
Serializable, Loggable

public class CredentialsExpiredException extends AuthenticationException
Thrown when the credentials were valid but have expired.

This is the signal for the client to obtain fresh credentials via CredentialsProvider.refresh(Credentials) and to retry the login, rather than to prompt the user again. The desktop client's LoginFailedHandler does exactly that, and such a retry does not count against the number of login attempts.

Author:
harald
See Also:
  • Constructor Details

    • CredentialsExpiredException

      public CredentialsExpiredException(String message)
      Constructs a new credentials expired exception with the specified detail message.
      Parameters:
      message - the detail message
    • CredentialsExpiredException

      public CredentialsExpiredException(String message, Throwable cause)
      Constructs a new credentials expired exception with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause