Enrollment form processor script includes

Enrollment form processor script includes provide functionality for extending enrollment form processing.

All enrollment form processor script includes take the following parameters, and return a boolean indicating whether the user was successfully enrolled.
  • params.userId: The sys_id of the user trying to enroll (table: [sys_user]).
  • params.verificationId: The sys_id of the verification used to enroll (table: [pwd_verification]).
  • params.enrollmentId: The sys_id of this enrollment process.
  • request: The form request object. Fields in the form can be accessed with request.getParameter('<element-id>').
The following information should be added to the state of the enrollment process:
  • gs.getSession().putProperty("result.status",status): Whether the user was successfully enrolled.
  • gs.getSession().putProperty("result.message",message): An associated message to be returned to the UI, such as a detailed error message.
  • gs.getSession().putProperty("result.value",value): A custom value associated with the enrollment.
Table 1. Enrollment form processor script includes
Name Description
PwdEnrollQuestionsProcessor Handles questions and answers for verification.
PwdEnrollSampleProcessor Provides an enrollment processor for sample verification.
PwdEnrollSMSProcessor Provides an enrollment processor for SMS verification.