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:
java.io.Serializable
public final class FailedLoginCaptchaException extends javax.security.auth.login.FailedLoginExceptionThis 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(java.lang.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
-
-
-
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(java.lang.String strMessage, boolean bEnableCaptcha)Creates a new instance of FailedLoginCaptchaException- Parameters:
strMessage- The detail messagebEnableCaptcha- True if the captcha should be enabled, false otherwise
-
-