com.atlassian.confluence.xwork
Class SetupIncompleteInterceptor

java.lang.Object
  extended by com.atlassian.confluence.xwork.SetupIncompleteInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public class SetupIncompleteInterceptor
extends Object
implements com.opensymphony.xwork.interceptor.Interceptor

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.


Constructor Summary
SetupIncompleteInterceptor()
           
 
Method Summary
 void destroy()
           
 void init()
           
 String intercept(com.opensymphony.xwork.ActionInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupIncompleteInterceptor

public SetupIncompleteInterceptor()
Method Detail

intercept

public String intercept(com.opensymphony.xwork.ActionInvocation invocation)
                 throws Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Throws:
Exception

destroy

public void destroy()
Specified by:
destroy in interface com.opensymphony.xwork.interceptor.Interceptor

init

public void init()
Specified by:
init in interface com.opensymphony.xwork.interceptor.Interceptor


Copyright © 2003-2013 Atlassian. All Rights Reserved.