Class FailedLoginCaptchaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- javax.security.auth.login.LoginException
-
- javax.security.auth.login.FailedLoginException
-
- fr.paris.lutece.portal.service.security.FailedLoginCaptchaException
-
- All Implemented Interfaces:
Serializable
public final class FailedLoginCaptchaException extends FailedLoginException
This Exception should be thrown when an IP failed to login several times, and the authentication service wants to enable Captcha.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailedLoginCaptchaException(boolean bEnableCaptcha)Creates a new instance of FailedLoginCaptchaExceptionFailedLoginCaptchaException(String strMessage, boolean bEnableCaptcha)Creates a new instance of FailedLoginCaptchaException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCaptchaEnabled()Check if the captcha should be enabled-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FailedLoginCaptchaException
public FailedLoginCaptchaException(boolean bEnableCaptcha)
Creates a new instance of FailedLoginCaptchaException- Parameters:
bEnableCaptcha- True if the captcha should be enabled, false otherwise
-
FailedLoginCaptchaException
public FailedLoginCaptchaException(String strMessage, boolean bEnableCaptcha)
Creates a new instance of FailedLoginCaptchaException- Parameters:
strMessage- The detail messagebEnableCaptcha- True if the captcha should be enabled, false otherwise
-
-