Enum ForgotPasswordMode

    • Enum Constant Detail

      • CAPTCHA

        public static final ForgotPasswordMode CAPTCHA
        Password recovery is allowed by a link sent via e-mail and requests captcha
      • WITHOUT_CAPTCHA

        public static final ForgotPasswordMode WITHOUT_CAPTCHA
        Password recovery is allowed by a link sent via e-mail without requesting captcha
      • SECURITY_QUESTION

        public static final ForgotPasswordMode SECURITY_QUESTION
        Password recovery is allowed by a link sent via e-mail, with security question and requests captcha
    • Method Detail

      • values

        public static ForgotPasswordMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ForgotPasswordMode c : ForgotPasswordMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ForgotPasswordMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • requestCaptcha

        public boolean requestCaptcha()
      • showForgotPassword

        public boolean showForgotPassword()