Class IdentifierRequired
java.lang.Object
com.pingidentity.sdk.api.authn.model.state.IdentifierRequired
- All Implemented Interfaces:
CaptchaProviderEnabledState,ClientSideAuthenticatorEnabledState
public class IdentifierRequired
extends Object
implements CaptchaProviderEnabledState, ClientSideAuthenticatorEnabledState
An API state model containing additional details for states in which an identifier is required for
authentication to proceed.
- Since:
- 10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the CAPTCHA attributes as provided by the CAPTCHA provider plugin.Get the CAPTCHA provider plugin type.Get the attributes that are required for the client side authenticator to operate.Get the list of javascript filenames that should be loaded for client side authentication.Get the list of previously submitted identifiers.booleanReturn true when the 'CAPTCHA' for authentication feature is available.booleanDetermines whether a client side authenticator is enabled for authentication.voidsetAuthenticatorEnabled(boolean enabled) Sets whether a client side authenticator is enabled for authentication.voidsetCaptchaAttributes(Map<String, Object> captchaAttributes) Set the CAPTCHA attributes as provided by the CAPTCHA provider plugin.voidsetCaptchaProviderType(String captchaProviderType) Set the CAPTCHA provider plugin type.voidsetClientSideAuthenticatorAttributes(Map<String, Object> authenticatorAttributes) Sets the attributes that will be used by the associated client side authenticator javascript files.voidsetJavascriptFilenames(List<String> javascriptFilenames) Set the Javascript filesnames that will be required for client side authentication.voidsetPreviouslySubmittedIdentifiers(List<String> previouslySubmittedIdentifiers) Set the list of previously submitted identifiers.voidsetShowCaptcha(boolean showCaptcha) Set the 'CAPTCHA' for authentication feature availability.
-
Constructor Details
-
IdentifierRequired
public IdentifierRequired()
-
-
Method Details
-
getPreviouslySubmittedIdentifiers
Get the list of previously submitted identifiers. -
setPreviouslySubmittedIdentifiers
Set the list of previously submitted identifiers. -
getShowCaptcha
public boolean getShowCaptcha()Description copied from interface:CaptchaProviderEnabledStateReturn true when the 'CAPTCHA' for authentication feature is available.- Specified by:
getShowCaptchain interfaceCaptchaProviderEnabledState
-
setShowCaptcha
public void setShowCaptcha(boolean showCaptcha) Description copied from interface:CaptchaProviderEnabledStateSet the 'CAPTCHA' for authentication feature availability.- Specified by:
setShowCaptchain interfaceCaptchaProviderEnabledState
-
getCaptchaProviderType
Description copied from interface:CaptchaProviderEnabledStateGet the CAPTCHA provider plugin type.- Specified by:
getCaptchaProviderTypein interfaceCaptchaProviderEnabledState
-
setCaptchaProviderType
Description copied from interface:CaptchaProviderEnabledStateSet the CAPTCHA provider plugin type.- Specified by:
setCaptchaProviderTypein interfaceCaptchaProviderEnabledState
-
getCaptchaAttributes
Description copied from interface:CaptchaProviderEnabledStateGet 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:
getCaptchaAttributesin interfaceCaptchaProviderEnabledState
-
setCaptchaAttributes
Description copied from interface:CaptchaProviderEnabledStateSet the CAPTCHA attributes as provided by the CAPTCHA provider plugin.- Specified by:
setCaptchaAttributesin interfaceCaptchaProviderEnabledState
-
isAuthenticatorEnabled
public boolean isAuthenticatorEnabled()Description copied from interface:ClientSideAuthenticatorEnabledStateDetermines whether a client side authenticator is enabled for authentication.- Specified by:
isAuthenticatorEnabledin interfaceClientSideAuthenticatorEnabledState
-
setAuthenticatorEnabled
public void setAuthenticatorEnabled(boolean enabled) Description copied from interface:ClientSideAuthenticatorEnabledStateSets whether a client side authenticator is enabled for authentication.- Specified by:
setAuthenticatorEnabledin interfaceClientSideAuthenticatorEnabledState
-
getClientSideAuthenticatorAttributes
Description copied from interface:ClientSideAuthenticatorEnabledStateGet the attributes that are required for the client side authenticator to operate. These will be used as context for the provided javascript files.- Specified by:
getClientSideAuthenticatorAttributesin interfaceClientSideAuthenticatorEnabledState
-
setClientSideAuthenticatorAttributes
Description copied from interface:ClientSideAuthenticatorEnabledStateSets the attributes that will be used by the associated client side authenticator javascript files.- Specified by:
setClientSideAuthenticatorAttributesin interfaceClientSideAuthenticatorEnabledState
-
getJavascriptFilenames
Description copied from interface:ClientSideAuthenticatorEnabledStateGet the list of javascript filenames that should be loaded for client side authentication. These javascript files names are defined by the client side authenticator class.- Specified by:
getJavascriptFilenamesin interfaceClientSideAuthenticatorEnabledState
-
setJavascriptFilenames
Description copied from interface:ClientSideAuthenticatorEnabledStateSet the Javascript filesnames that will be required for client side authentication.- Specified by:
setJavascriptFilenamesin interfaceClientSideAuthenticatorEnabledState
-