The Question and Answer (QnA) authentication mechanism can either be used as a secondary authentication method for Step 1: ArcotID PKI Download, or Forgot Your Password (FYP) authentication, or can be used as an independent authentication type.
In this mechanism, the user can either set their own set of questions and answers during the QnA creation stage, or your application can choose to ask pre-defined questions to the user. The maximum number of questions to be set, the number of questions to be asked to the user, and the minimum correct answers to be collected during authentication are all configurable parameters and can be set by using the Administration Console.
This section walks you through the following topics for QnA authentication:
For QnA authentication, you must prepare the following request messages:
The GetQuestionsRequestMessage is used to fetch the questions from AuthMinder Server. The following table lists the elements of this message:
|
Element |
Mandatory |
Description |
|---|---|---|
|
clientTxnId |
No |
Specifies the unique transaction identifier that the calling application can include. This identifier helps in tracking the related transactions. |
|
userName |
Yes |
The unique identifier of the user. |
|
orgName |
No |
The organization to which the user belongs to. |
|
fetchAnswers |
Yes |
The flag, which indicates whether to fetch the answers. Following are the supported values:
|
|
additionalInput/pairs |
No |
AuthMinder’s additionalInput element enables you to set additional inputs if you want to augment AuthMinder’s authentication capability by specifying additional information. In such cases, you need to set the extra information in name-value pairs.
Some of the pre-defined additional input parameters include:
|
The VerifyAnswersRequestMessage is used to verify the answers provided by the user. The following table lists the elements of this message:
|
Element |
Mandatory |
Description |
|---|---|---|
|
clientTxnId |
No |
Specifies the unique transaction identifier that the calling application can include. This identifier helps in tracking the related transactions. |
|
orgName |
No |
The organization name to which the user belongs to. |
|
qna |
Yes |
Contains the following information:
|
|
tokenType |
No |
The type of authentication token that is expected from AuthMinder Server after successful authentication. See "Verifying the Authentication Tokens" for more information. |
|
additionalInput/pairs |
No |
AuthMinder’s additionalInput element enables you to set additional inputs if you want to augment AuthMinder’s authentication capability by specifying additional information. In such cases, you need to set the extra information in name-value pairs.
Some of the pre-defined additional input parameters include:
|
The following procedure outlines the QnA authentication steps:
Note: In the request message, you must set the fetchAnswers element, if you want to enable caller verification mode.
This operation returns GetQuestionsResponseMessage, which includes the questions to be asked, answers for each question, transaction ID, message, response code, and reason code.
This operation returns VerifyAnswersResponseMessage, which provides the transaction details, credential details, and token information.
Following are the response messages that are returned as part of QnA authentication:
For successful transactions, the response message, GetQuestionsResponseMessage returns the elements explained in the following table. These elements are included in the SOAP body. If there are any errors, then the Fault response is included in the SOAP body. See appendix, "Error Codes" for more information on the SOAP error messages.
|
Element |
Description |
|---|---|
|
qna |
Contains the following question and answer details:
|
|
transactionDetails |
Contains the following transaction details:
|
For successful transactions, the response message, VerifyAnswersResponseMessage returns the elements explained in . These elements are included in the SOAP body. If there are any errors, then the Fault response is included in the SOAP body. See appendix. "Error Codes" for more information on the SOAP error messages.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|