fr.paris.lutece.portal.service.security
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
Method Summary |
boolean |
isCaptchaEnabled()
Check if the captcha should be enabled |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
isCaptchaEnabled
public boolean isCaptchaEnabled()
- Check if the captcha should be enabled
- Returns:
- True if the captcha should be enabled, false otherwise
Copyright © 2014 Mairie de Paris. All Rights Reserved.