This action validates the form input from the NewAccount Screen.
If it is valid, then it will check to make sure that the user account
does not already exist. If it does, then it will show the NewAccount
screen again. If it doesn't alread exist, then it will create the new
user and set the CONFIRM_VALUE to be the users session id. This part should
probably be re-done to get a better less hackable CONFIRM_VALUE, but this
should work for now. If everything goes well, this action will send the user
a confirmation email and then show the ConfirmRegistration screen.
createUser creates a new user.
Subclasses can override this method - adding additional user property settings as needed.
The default implementation does nothing.
Parameters:
user - the new user that has been created
data - the current RunData instance
Throws:
java.lang.Exception - passed up from JetspeedSecurity