Class 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:
  • Constructor Details

    • 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 message
      bEnableCaptcha - True if the captcha should be enabled, false otherwise
  • Method Details

    • isCaptchaEnabled

      public boolean isCaptchaEnabled()
      Check if the captcha should be enabled
      Returns:
      True if the captcha should be enabled, false otherwise