Class UsernamePasswordRequired

    • Constructor Detail

      • UsernamePasswordRequired

        public UsernamePasswordRequired()
    • Method Detail

      • getUsername

        public String getUsername()
        Get the username hint to be presented to the user. This hint may be specified through a parameter on a protocol request or through an authentication policy mapping.
      • setUsername

        public void setUsername​(String username)
        Set the username hint to be presented to the user.
      • getAllowUsernameEdits

        public Boolean getAllowUsernameEdits()
        Get whether the user should be allowed to input a username different from the username hint.
      • setAllowUsernameEdits

        public void setAllowUsernameEdits​(Boolean allowUsernameEdits)
        Set whether the user should be allowed to input a username different from the username hint.
      • getShowRememberMyUsername

        public boolean getShowRememberMyUsername()
        Return true when the 'Remember My Username' option is available.
      • setShowRememberMyUsername

        public void setShowRememberMyUsername​(boolean showRememberMyUsername)
        Set the 'Remember My Username' option availability
      • isRememberMyUsernameSelected

        public boolean isRememberMyUsernameSelected()
        Return true when the 'Remember My Username' option is currently selected.
      • setRememberMyUsernameSelected

        public void setRememberMyUsernameSelected​(boolean rememberMyUsernameSelected)
        Set the current selection of the 'Remember My Username' option
      • getThisIsMyDeviceSelected

        public boolean getThisIsMyDeviceSelected()
        Return true when the 'This Is My Device' option is currently selected.
      • setThisIsMyDeviceSelected

        public void setThisIsMyDeviceSelected​(boolean thisIsMyDeviceSelected)
        Set the current selection of the 'This Is My Device' option
      • getCaptchaSiteKey

        public String getCaptchaSiteKey()
        Description copied from interface: CaptchaEnabledState
        Get the CAPTCHA site key assigned to your application by Google. This field will only be populated if the CAPTCHA provider is reCAPTCHA v2, v3, or Enterprise.
        Specified by:
        getCaptchaSiteKey in interface CaptchaEnabledState
      • setAlternativeAuthenticationSources

        public void setAlternativeAuthenticationSources​(List<AlternativeAuthenticationSource> alternativeAuthenticationSources)
        Set the list of alternative authentication sources.
      • getCaptchaAttributes

        public Map<String,​Object> getCaptchaAttributes()
        Description copied from interface: CaptchaProviderEnabledState
        Get the CAPTCHA attributes as provided by the CAPTCHA provider plugin. The CAPTCHA provider plugin CAPTCHA attributes. Google's reCAPTCHA v2 CAPTCHA provider will provide 'siteKey', Google's reCAPTCHA v3 and reCAPTCHA Enterprise CAPTCHA provider will provide 'siteKey' and 'action' to be able to invoke the challenge.
        Specified by:
        getCaptchaAttributes in interface CaptchaProviderEnabledState