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, org.apache.struts2.action.ServletRequestAware, org.apache.struts2.interceptor.ServletRequestAware

    public class NotPermittedAction
    extends LoginAction
    implements Beanable, org.apache.struts2.interceptor.ServletRequestAware
    See Also:
    Serialized Form
    • Constructor Detail

      • NotPermittedAction

        public NotPermittedAction()
    • Method Detail

      • 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()
      • setSpaceManager

        public void setSpaceManager​(SpaceManager spaceManager)
      • getTitle

        public String getTitle()
      • getMessage

        public String getMessage()
      • getCssClass

        public String getCssClass()
      • setServletRequest

        public void setServletRequest​(javax.servlet.http.HttpServletRequest httpServletRequest)
        Specified by:
        setServletRequest in interface org.apache.struts2.interceptor.ServletRequestAware