public class SignUpAction extends AbstractLoginSignupAction implements Evented<UserSignupEvent>, ExternalUserManagementAware, CaptchaAware
os_destination, signupManager, token, upgradeManager
user, userKey, username
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permitted, personService, 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 |
setUserFormValidator(UserFormValidator userFormValidator) |
void |
validate() |
void |
validateExecute() |
void |
validateUserDoesNotExist() |
getCaptchaManager, getClusterManager, getCurrentYearAsString, getLanguage, getLanguages, getOs_destination, getSignupManager, getSignupURL, getToken, getUpgradeManager, isBrowserLanguageEnabled, isFromNotPermitted, isLogout, isMobileAppWebView, isShowSignUp, setCaptchaManager, setClusterManager, setDarkFeaturesManager, setFromNotPermitted, setLanguage, setLogout, setOs_destination, setSignupManager, setToken, setUpgradeManager, setWritableDirectoryExistsCriteria, shouldRememberMeCheckboxBeOmitted, shouldShowMobileBanner
getRemoteUsername, getUser, getUserKey, getUsername, isAllowedToAddUsers, setUserKey, setUsername
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
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 wrong@XsrfProtectionExcluded public 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
Copyright © 2003–2021 Atlassian. All rights reserved.