public class SignUpAction extends AbstractLoginSignupAction implements Evented<UserSignupEvent>, ExternalUserManagementAware, CaptchaAware
os_destination, signupManager, token, upgradeManager
user, userKey, username
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
SignUpAction() |
Modifier and Type | Method and Description |
---|---|
void |
checkSignupAllowed() |
String |
doDefault()
Default webwork action execution method.
|
String |
execute() |
String |
getConfirm() |
String |
getEmail() |
UserSignupEvent |
getEventToPublish(String result)
Gets the event to publish.
|
String |
getFullName() |
String |
getLinkLoginURL(javax.servlet.http.HttpServletRequest request) |
String |
getPassword() |
boolean |
isPermitted() |
void |
setConfirm(String confirm) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setPassword(String password) |
void |
setPermissionManager(PermissionManager permissionManager) |
void |
setSignupValidator(SignupValidator signupValidator) |
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
Deprecated.
since 5.3. No longer used
|
void |
setUserFormValidator(UserFormValidator userFormValidator) |
void |
validate() |
void |
validateExecute() |
void |
validateUserDoesNotExist() |
getCaptchaManager, getClusterManager, getCurrentYearAsString, getLanguage, getLanguages, getOs_destination, getSignupManager, getSignupURL, getToken, getUpgradeManager, isBrowserLanguageEnabled, isFromNotPermitted, isLogout, isShowSignUp, setCaptchaManager, setClusterManager, setDarkFeaturesManager, setFromNotPermitted, setLanguage, setLogout, setOs_destination, setSignupManager, setToken, setUpgradeManager, setWritableDirectoryExistsCriteria, shouldRememberMeCheckboxBeOmitted
getRemoteUsername, getUser, getUserKey, getUsername, isAllowedToAddUsers, setUserKey, setUsername
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public void checkSignupAllowed()
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class AbstractLoginSignupAction
Exception
- if something goes wrongpublic String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void validateExecute()
public void validateUserDoesNotExist()
public UserSignupEvent getEventToPublish(String result)
Evented
getEventToPublish
in interface Evented<UserSignupEvent>
result
- the result of the action executing.public boolean isPermitted()
isPermitted
in class AbstractUsersAction
public String getPassword()
public void setPassword(String password)
public String getConfirm()
public void setConfirm(String confirm)
public String getEmail()
public void setEmail(String email)
public String getFullName()
public void setFullName(String fullName)
public String getLinkLoginURL(javax.servlet.http.HttpServletRequest request)
public void setUserFormValidator(UserFormValidator userFormValidator)
public void setSignupValidator(SignupValidator signupValidator)
public void setPermissionManager(PermissionManager permissionManager)
setPermissionManager
in class ConfluenceActionSupport
@Deprecated public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager taskManager)
Copyright © 2003–2015 Atlassian. All rights reserved.