Class AuthenticationFailed
java.lang.Object
com.pingidentity.sdk.api.authn.model.state.AuthenticationFailed
- All Implemented Interfaces:
Serializable
The model for the
FAILED state.- Since:
- 9.3
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the adapter ID associated with the error, if defined.getCode()Get the error code.Get the developer-facing error message.Get the tracking ID associated with the error.Get the user-facing error message.Get the user-facing error message key.voidsetAdapterId(String adapterId) Set the adapter ID associated with the error.voidSet the error code.voidsetMessage(String message) Set the developer-facing error message.voidsetTrackingId(String trackingId) Set the tracking ID associated with the error.voidsetUserMessage(String userMessage) Directly set the user-facing error message.voidsetUserMessageKey(String userMessageKey) Set the user-facing error message key.
-
Constructor Details
-
AuthenticationFailed
public AuthenticationFailed()
-
-
Method Details
-
getCode
Get the error code. -
setCode
Set the error code. -
getMessage
Get the developer-facing error message. -
setMessage
Set the developer-facing error message. -
getUserMessage
Get the user-facing error message. If possible, this error message should be user-friendly and localized. A localizable message key can be provided withsetUserMessageKey()or the localized error message can be directly set withsetUserMessage(). -
setUserMessageKey
Set the user-facing error message key. In the JSON serialization this key will automatically be converted to a localized string if a corresponding message is defined in the authn-api-messages or the pingfederate-messages properties file for the user's locale. -
getUserMessageKey
Get the user-facing error message key. -
setUserMessage
Directly set the user-facing error message. Where possible, the message should be user-friendly and localized. -
getAdapterId
Get the adapter ID associated with the error, if defined. -
setAdapterId
Set the adapter ID associated with the error. -
getTrackingId
Get the tracking ID associated with the error. -
setTrackingId
Set the tracking ID associated with the error.
-