Class Logout

java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.rest.Logout
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, RestActionAware, ReturnUrlAware, UserAware, com.atlassian.core.i18n.I18nTextProvider, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class Logout extends BambooActionSupport implements RestActionAware
This class logs a remote user out from their session.
See Also:
  • Constructor Details

    • Logout

      public Logout()
  • Method Details

    • execute

      public String execute() throws Exception
      Logout the user from the session
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Returns:
      the webwork error status
      Throws:
      Exception - A generic failure
    • getAuth

      public String getAuth()
    • setAuth

      public void setAuth(String auth)