public class UsernamePasswordRequired extends Object implements Serializable
Constructor and Description |
---|
UsernamePasswordRequired() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowUsernameEdits()
Get whether the user should be allowed to input a username different from the username hint.
|
List<AlternativeAuthenticationSource> |
getAlternativeAuthenticationSources()
Get the list of alternative authentication sources.
|
String |
getCaptchaSiteKey()
Get the captcha site key assigned to your application by Google.
|
boolean |
getShowCaptcha()
Return true when the 'Captcha' for authentication feature is available.
|
boolean |
getShowRememberMyUsername()
Return true when the 'Remember My Username' option is available.
|
boolean |
getShowThisIsMyDevice()
Return true when the 'This Is My Device' option is available.
|
boolean |
getThisIsMyDeviceSelected()
Return true when the 'This Is My Device' option is currently selected.
|
String |
getUsername()
Get the username hint to be presented to the user.
|
boolean |
isRememberMyUsernameSelected()
Return true when the 'Remember My Username' option is currently selected.
|
void |
setAllowUsernameEdits(Boolean allowUsernameEdits)
Set whether the user should be allowed to input a username different from the username hint.
|
void |
setAlternativeAuthenticationSources(List<AlternativeAuthenticationSource> alternativeAuthenticationSources)
Set the list of alternative authentication sources.
|
void |
setCaptchaSiteKey(String captchaSiteKey)
Set the captcha site key assigned to your application by Google.
|
void |
setRememberMyUsernameSelected(boolean rememberMyUsernameSelected)
Set the current selection of the 'Remember My Username' option
|
void |
setShowCaptcha(boolean showCaptcha)
Set the 'Captcha' for authentication feature availability
|
void |
setShowRememberMyUsername(boolean showRememberMyUsername)
Set the 'Remember My Username' option availability
|
void |
setShowThisIsMyDevice(boolean showThisIsMyDevice)
Set the 'This Is My Device' option availability
|
void |
setThisIsMyDeviceSelected(boolean thisIsMyDeviceSelected)
Set the current selection of the 'This Is My Device' option
|
void |
setUsername(String username)
Set the username hint to be presented to the user.
|
public String getUsername()
public void setUsername(String username)
public Boolean getAllowUsernameEdits()
public void setAllowUsernameEdits(Boolean allowUsernameEdits)
public boolean getShowRememberMyUsername()
public void setShowRememberMyUsername(boolean showRememberMyUsername)
public boolean isRememberMyUsernameSelected()
public void setRememberMyUsernameSelected(boolean rememberMyUsernameSelected)
public boolean getShowThisIsMyDevice()
public void setShowThisIsMyDevice(boolean showThisIsMyDevice)
public boolean getThisIsMyDeviceSelected()
public void setThisIsMyDeviceSelected(boolean thisIsMyDeviceSelected)
public boolean getShowCaptcha()
public void setShowCaptcha(boolean showCaptcha)
public String getCaptchaSiteKey()
public void setCaptchaSiteKey(String captchaSiteKey)
public List<AlternativeAuthenticationSource> getAlternativeAuthenticationSources()
public void setAlternativeAuthenticationSources(List<AlternativeAuthenticationSource> alternativeAuthenticationSources)
Copyright 2019 Ping Identity Corp. All rights reserved.