Class CredentialsExpiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tentackle.common.TentackleRuntimeException
org.tentackle.session.PersistenceException
org.tentackle.session.LoginFailedException
org.tentackle.session.auth.AuthenticationException
org.tentackle.session.auth.CredentialsExpiredException
- All Implemented Interfaces:
Serializable, Loggable
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 Summary
ConstructorsConstructorDescriptionCredentialsExpiredException(String message) Constructs a new credentials expired exception with the specified detail message.CredentialsExpiredException(String message, Throwable cause) Constructs a new credentials expired exception with the specified detail message and cause. -
Method Summary
Methods inherited from class LoginFailedException
getLogLevelMethods inherited from class PersistenceException
evaluate, extractPersistenceException, getIdentifiable, getMessage, getSession, updateDbObjectMethods inherited from class org.tentackle.common.TentackleRuntimeException
isTemporary, setTemporaryMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Loggable
withStacktrace
-
Constructor Details
-
CredentialsExpiredException
Constructs a new credentials expired exception with the specified detail message.- Parameters:
message- the detail message
-
CredentialsExpiredException
-