Class SignUpAction

All Implemented Interfaces:
Evented<UserSignupEvent>, WebInterface, CaptchaAware, ExternalUserManagementAware, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

A form where new users may create accounts for themselves, given a valid token.
Since:
4.1
See Also:
  • Constructor Details

    • SignUpAction

      public SignUpAction()
  • Method Details

    • getSignUpActionViewDataMappings

      public Map<String,Object> getSignUpActionViewDataMappings()
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • checkSignupAllowed

      public void checkSignupAllowed()
    • doDefault

      @XsrfProtectionExcluded public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class AbstractLoginSignupAction
      Throws:
      Exception
    • execute

      @XsrfProtectionExcluded public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • getEventToPublish

      public UserSignupEvent getEventToPublish(String result)
      Description copied from interface: Evented
      Gets the event to publish.
      Specified by:
      getEventToPublish in interface Evented<UserSignupEvent>
      Parameters:
      result - the result of the action executing.
      Returns:
      the event. Can be null, in which case no event will be published.
    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class AbstractUsersAction
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getConfirm

      public String getConfirm()
    • setConfirm

      public void setConfirm(String confirm)
    • getEmail

      public String getEmail()
    • setEmail

      public void setEmail(String email)
    • getFullName

      public String getFullName()
    • setFullName

      public void setFullName(String fullName)
    • getLinkLoginURL

      public String getLinkLoginURL(javax.servlet.http.HttpServletRequest request)
    • setUserFormValidator

      public void setUserFormValidator(UserFormValidator userFormValidator)
    • setSignupValidator

      public void setSignupValidator(SignupValidator signupValidator)