public class UserSignupManager extends UserSignupManager
UserSignupManager
to add the creation of a user content on signup.UserSignupManager.LostPasswordError, UserSignupManager.TempUser
Modifier and Type | Field and Description |
---|---|
private ContentTypeExtensionPoint |
_contentTypeEP |
private Context |
_context |
private FOContentCreationHelper |
_foHelper |
protected int |
_initWorkflowActionId
The default workflow action id for initializing user content
|
private JSONUtils |
_jsonUtils |
private UserHelper |
_userHelper |
protected String |
_workflowName
The default workflow name user content
|
_i18nUtils, _pageUriResolver, _populationContextHelper, _pwdChangeTable, _resolver, _siteConf, _siteManager, _tempUsersTable, _uriResolverEP, _userManager, _userPopulationDAO, _userSignUpConfiguration, ROLE, SIGNUP_ERROR, SIGNUP_ERROR_TEMP_EMAIL_ALREADY_EXISTS, SIGNUP_ERROR_USER_ALREADY_EXISTS, SIGNUP_NO_ERROR, SIGNUP_RESET_ERROR_EMAIL_UNKNOWN, SIGNUP_TOKEN_EXPIRED, SIGNUP_TOKEN_UNKNOWN
_manager
Constructor and Description |
---|
UserSignupManager() |
Modifier and Type | Method and Description |
---|---|
protected Request |
_getRequest()
Get the request
|
void |
additionalSignupOperations(User createdUser,
Multimap<String,I18nizableText> errors)
Process additional operations after creation of user
|
void |
configure(Configuration configuration) |
void |
contextualize(Context context) |
void |
service(ServiceManager serviceManager) |
void |
validationBeforeSignup(Multimap<String,I18nizableText> errors)
Do some validation before signup
|
addPasswordToken, addTemporaryUser, changeUserPassword, checkPasswordToken, checkPublicSignup, checkToken, getGTUContent, getGTUPage, getPwdChangePage, getPwdChangePages, getSignupPage, getSignupPages, getSuccessContent, getSuccessPage, getTempUser, getTempUser, getToken, isPublicSignupAllowed, removeExpiredPasswordTokens, removeExpiredTokens, removePasswordToken, removeTempUser, resetPassword, resetTempSignup, sendResetPasswordMail, sendSignupConfirmMail, sendSignupValidatedMail, signup, temporarySignup, temporarySignup, updateTempToken, userExists, validate, validatePassword
_configureDatasource, _getDataSourceId, _getMyBatisConfiguration, getSession, getSession, reload, setPluginInfo
getLogger, setLogger
protected int _initWorkflowActionId
protected String _workflowName
private ContentTypeExtensionPoint _contentTypeEP
private FOContentCreationHelper _foHelper
private UserHelper _userHelper
private JSONUtils _jsonUtils
public UserSignupManager()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
contextualize
in class AbstractMyBatisDAO
ContextException
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class UserSignupManager
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class UserSignupManager
ConfigurationException
protected Request _getRequest()
public void validationBeforeSignup(Multimap<String,I18nizableText> errors)
UserSignupManager
validationBeforeSignup
in class UserSignupManager
errors
- the map of errors to fill in cause of errors during validationpublic void additionalSignupOperations(User createdUser, Multimap<String,I18nizableText> errors) throws UserManagementException
UserSignupManager
additionalSignupOperations
in class UserSignupManager
createdUser
- the created usererrors
- the map of errors to fill in case of errors during additional operationsUserManagementException
- if an error occurs.