Class SetupIncompleteInterceptor

java.lang.Object
org.apache.struts2.interceptor.AbstractInterceptor
com.atlassian.confluence.struts.interceptor.SetupIncompleteInterceptor
All Implemented Interfaces:
Serializable, org.apache.struts2.interceptor.ConditionalInterceptor, org.apache.struts2.interceptor.Interceptor

public class SetupIncompleteInterceptor extends org.apache.struts2.interceptor.AbstractInterceptor
Interceptor that checks whether or not Confluence has been setup yet (that is the setup wizard has been completed). If not, it will redirect the user to setup on any attempt to access actions that are not part of the /setup or /bootstrap action name spaces.
Since:
9.3
See Also:
  • Constructor Details

    • SetupIncompleteInterceptor

      public SetupIncompleteInterceptor()
  • Method Details

    • intercept

      public String intercept(org.apache.struts2.ActionInvocation invocation) throws Exception
      Specified by:
      intercept in interface org.apache.struts2.interceptor.Interceptor
      Specified by:
      intercept in class org.apache.struts2.interceptor.AbstractInterceptor
      Throws:
      Exception