|
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.ApproveRegistrationValidator
This class is a helper class that allows the LoginController controller to authorize or deny a registration request
LoginController| Field Summary | |
protected static org.apache.log4j.Logger |
log
|
| Constructor Summary | |
ApproveRegistrationValidator()
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 administrators of a registration domain an email notifying that a user registered and requires approval. |
ControllerResponse |
validated(Hashtable params,
ControllerRequest request,
ControllerResponse response,
Controller ctlr)
This method is used after the approver is validated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.log4j.Logger log
| Constructor Detail |
public ApproveRegistrationValidator()
| 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 - params All the application-specific parameters from
LoginControllerrequest - the ControllerRequest objectresponse - response The controller response from the
runValidationState of ValidationControllerctlr - ctlr The ValidationController instance
ControllerException - ControllerException
NonHandleableException - upon fatal errorValidationControllerprotected String getString(String stringCode)
stringCode - the string to retrieve
protected String getString(String stringCode,
Object[] args)
stringCode - the string to retrieveargs - the formatting arguments
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||