Validation Queue

The Validation Queue is the queue for the 'validation framework'. The validation framework is provided for a specific group of problems described as follows:

  1. User enters some information to perform some sort of action, let's say to unsubscribe from a mail list.

  2. The validation framework then sends a confirmation email to the user that includes a clickable URL. This URL contains a 128-bit random number.

  3. The user clicks on the random number. The framework then looks up that random number and dispatches the request to the appropriate ValidationHandler class.

  4. The validation handler then performs the appropriate actions and displays the final message to the user.

You can see this system in action in Expresso's registration system in: com.jcorporate.expresso.services.controller.Registration

 

The following fields are used for validation queues:

Field Name Description
Job entry number A serial number is automatically assigned to each validation entry as it is created
Status Code
  1. New
  2. Available
  3. Wait
  4. Validated
  5. Denied
  6. Expired
Added On The date and time the job was intitially requested
Expires At When the validation entry is no longer valid
Processed On When the validation entry was processed
Processed By The username who processed the validation entry
Validation Security Code A random number to give security to the URL
Validation Handler Class A class which extends com.jcorporate.expresso.services.validation.ValidationHandler