Class AccessDeniedAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.error.AccessDeniedAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, 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

public class AccessDeniedAction extends BambooActionSupport
Access denied action.

If a user is not logged in, it will redirect the user to the login page. If a user is logged in, an "access denied" page will be displayed and the response status code will be set to HTTP 403 Forbidden.

See Also:
  • Constructor Details

    • AccessDeniedAction

      public AccessDeniedAction()
  • Method Details

    • getEncodedCurrentUrl

      public String getEncodedCurrentUrl()
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception