Expresso 5-6

Package com.jcorporate.expresso.services.validation

This package provides for a 'validation framework'.

See:
          Description

Interface Summary
ValidationHandler Applications that need to use the validation framework must implement this interface.
 

Class Summary
ApproveRegistrationValidator This class is a helper class that allows the LoginController controller to authorize or deny a registration request
ChangePasswordValidator This class is a helper class that allows the LoginController controller to validate the password-change request.
LoginEmailValidator This class is a helper class that allows the LoginController controller to validate the email address provided as part of express registration.
ValidationEntry This class abstracts the storing of the data that goes along with any particular validation operation.
 

Exception Summary
AuthValidationException AuthValidationException
 

Package com.jcorporate.expresso.services.validation Description

This package provides for a 'validation framework'. This 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.RegistrationController

 


Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.