Class ForgotPassword

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.security.ForgotPassword
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, DecoratorAware, NavigationAware, DomainObjectSecurityAware, GlobalBypassSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, 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

public class ForgotPassword extends BambooActionSupport implements GlobalBypassSecurityAware, DecoratorAware
Action to handle a registered user forgetting their password.
See Also:
  • Constructor Details

    • ForgotPassword

      public ForgotPassword()
  • Method Details

    • validate

      public void validate()
      Ensure the user has entered a valid data
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • execute

      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
    • getDecoratorName

      public String getDecoratorName()
      Specified by:
      getDecoratorName in interface DecoratorAware
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • isMailServerConfigured

      public boolean isMailServerConfigured()
    • isShowAdminContactDetailsToAnonymousUsers

      public boolean isShowAdminContactDetailsToAnonymousUsers()