Class NotPermittedAction

All Implemented Interfaces:
Beanable, WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class NotPermittedAction extends LoginAction implements Beanable
See Also:
  • Field Details

    • JSON_CONTENT_TYPES

      @Deprecated public static final String[] JSON_CONTENT_TYPES
      Deprecated.
      since 5.10 Use JSON_CONTENT_TYPES2
  • Constructor Details

    • NotPermittedAction

      public NotPermittedAction()
  • Method Details

    • execute

      @XsrfProtectionExcluded public String execute() throws Exception
      Description copied from class: LoginAction
      On successful login, redirection will be handled by the LoginFilter based on os_destination or the original URL stored in the session
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class LoginAction
      Throws:
      Exception
    • getLoginUrl

      public String getLoginUrl()
      Returns:
      the login url
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getSpace

      public Space getSpace()
    • getUsername

      public String getUsername()
      Overrides:
      getUsername in class AbstractUsersAction
    • setSpaceManager

      public void setSpaceManager(SpaceManager spaceManager)
    • getBean

      public Object getBean()
      Specified by:
      getBean in interface Beanable
    • getTitle

      public String getTitle()
    • getMessage

      public String getMessage()
    • getCssClass

      public String getCssClass()
    • withServletRequest

      @Deprecated(forRemoval=true) public void withServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 9.1, no replacement.