Enum Class FidoErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<FidoErrorCode>
,Constable
Collection error codes based on the
FIDO UAF client error codes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe authenticator denied access to the resulting request.window.location.protocol is not "https" or the DOM contains insecure mixed content.Insufficient resources in the authenticator to perform the requested task.Transaction content cannot be rendered, e.g.The UAuth key disappeared from the authenticator and cannot be restored.The operation completed with no error condition encountered.No authenticator matching the authenticator policy specified in the UAFMessage is available to service the request, or the user declined to consent to the use of a suitable authenticator.A violation of the UAF protocol occurred.An error condition not described by the above-listed codes.The UAFMessage does not specify a protocol version supported by this FIDO UAF Client.The client declined to process the operation because the caller's calculated facet identifier was not found in the trusted list for the application identifier specified in the request message.The user declined any necessary part of the interaction to complete the registration.The operation failed because the user is locked out and the authenticator cannot automatically trigger an action to change that.The operation failed because the user is not enrolled to the authenticator and the authenticator cannot automatically trigger user enrollment.The user took too long to follow an instruction, e.g.Waiting on user action to proceed. -
Method Summary
Modifier and TypeMethodDescriptionint
code()
Returns the code associated with this error.Returns a description of the error.static FidoErrorCode
Returns the enum constant of this class with the specified name.static FidoErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_ERROR
The operation completed with no error condition encountered. -
WAIT_USER_ACTION
Waiting on user action to proceed. For example, selecting an authenticator in the FIDO UAF client user interface, performing user verification, or completing an enrollment step with an authenticator. -
INSECURE_TRANSPORT
window.location.protocol is not "https" or the DOM contains insecure mixed content. -
USER_CANCELED
The user declined any necessary part of the interaction to complete the registration. -
UNSUPPORTED_VERSION
The UAFMessage does not specify a protocol version supported by this FIDO UAF Client. -
NO_SUITABLE_AUTHENTICATOR
No authenticator matching the authenticator policy specified in the UAFMessage is available to service the request, or the user declined to consent to the use of a suitable authenticator. -
PROTOCOL_ERROR
A violation of the UAF protocol occurred. The interaction may have timed out; the origin associated with the message may not match the origin of the calling DOM context, or the protocol message may be malformed or tampered with. -
UNTRUSTED_FACET_ID
The client declined to process the operation because the caller's calculated facet identifier was not found in the trusted list for the application identifier specified in the request message.This error occurs typically when there is a misconfiguration of the server: the facets defined by the FIDO UAF server do not match the configuration of the application.
-
KEY_DISAPPEARED_PERMANENTLY
The UAuth key disappeared from the authenticator and cannot be restored.This is a non-recoverable error: the existing credentials are not valid anymore. They should be removed from the server and a new authenticator must be registered to authenticate again.
-
AUTHENTICATOR_ACCESS_DENIED
The authenticator denied access to the resulting request. -
INVALID_TRANSACTION_CONTENT
Transaction content cannot be rendered, e.g. format doesn't fit authenticator's need.Note: The transaction content format requirements are specified in the authenticator's metadata statement.
-
USER_NOT_RESPONSIVE
The user took too long to follow an instruction, e.g. didn't swipe the finger within the accepted time. -
INSUFFICIENT_AUTHENTICATOR_RESOURCES
Insufficient resources in the authenticator to perform the requested task. -
USER_LOCKOUT
The operation failed because the user is locked out and the authenticator cannot automatically trigger an action to change that. For example, an authenticator could allow the user to enter an alternative password to re-enable the use of fingerprints after too many failed finger verification attempts. This error will be reported if such method either does not exist or the ASM / authenticator cannot automatically trigger it. -
USER_NOT_ENROLLED
The operation failed because the user is not enrolled to the authenticator and the authenticator cannot automatically trigger user enrollment. -
UNKNOWN
An error condition not described by the above-listed codes.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
description
Returns a description of the error.- Returns:
- a description of the error
-
code
public int code()Returns the code associated with this error.- Returns:
- the code associated with this error
-