Class NotPermittedAction

All Implemented Interfaces:
Beanable, WebInterface, MessageHolderAware, 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 NotPermittedAction extends LoginAction implements Beanable
See Also:
  • 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 org.apache.struts2.action.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()