|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.services.validation.LoginEmailValidator
This class is a helper class that allows the LoginController controller to validate the email address provided as part of express registration.
LoginController| Constructor Summary | |
LoginEmailValidator()
Default constructor Creation date: (9/23/2001 2:23:06 PM) Author: Shash Chatterjee |
|
| Method Summary | |
protected String |
getString(String stringCode)
Convenience version of the above with no arguments. |
protected String |
getString(String stringCode,
Object[] args)
Pass on a call to retrieve an appropriate localized string from the correct Schema object. |
void |
notify(Hashtable params,
String URL)
This method is used to send the user that registered an email so that when they click on the link it can be verified that the email address they provided does indeed belong to them and is a working email address. |
ControllerResponse |
validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used to transition back to the "emailValidate" state of the registration controller which then completes the user's registration and sends out the email notification of succesful registration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoginEmailValidator()
| Method Detail |
public void notify(Hashtable params,
String URL)
throws AuthValidationException
notify in interface ValidationHandlerparams - params All the application-specific parameters from
LoginControllerURL - URL The link that the user will click on to validate the
request
AuthValidationException - AuthValidationExceptionValidationJob
public ControllerResponse validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
throws ControllerException,
NonHandleableException
validated in interface ValidationHandlerparams - All the application-specific parameters from
LoginControllerrequest - the ControllerRequest objectresponse - The controller response from the runValidationState of
ValidationControllerctlr - The ValidationController instance
ControllerException - upon error
NonHandleableException - upon fatal errorValidationControllerprotected String getString(String stringCode)
stringCode - the string to localize
protected String getString(String stringCode,
Object[] args)
stringCode - the string to localizeargs - formatting arguments
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||