Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.logicaldoc.core.security.authentication.AuthenticationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccountDisabledException
,AccountExpiredException
,AccountInactiveException
,AccountNotFoundException
,IPBlockedException
,OutsideWorkingTimeException
,PasswordAlreadyUsedException
,PasswordExpiredException
,UsernameBlockedException
,WrongPasswordException
public class AuthenticationException extends RuntimeException
A generic exception during the authentication process- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException()
AuthenticationException(Authenticator authenticator)
AuthenticationException(Authenticator authenticator, String code)
AuthenticationException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authenticator
getAuthenticator()
boolean
mustRecordFailure()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException()
-
AuthenticationException
public AuthenticationException(Authenticator authenticator)
-
AuthenticationException
public AuthenticationException(Authenticator authenticator, String code)
-
AuthenticationException
public AuthenticationException(String message)
-
-
Method Detail
-
getAuthenticator
public Authenticator getAuthenticator()
-
mustRecordFailure
public boolean mustRecordFailure()
-
-