fr.ifremer.echobase.ui.interceptors
Class AbstractCheckInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
fr.ifremer.echobase.ui.interceptors.AbstractCheckInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
- Direct Known Subclasses:
- CheckInUserSessionInterceptor, CheckLogguedInterceptor, CheckUserIsAdmin
public abstract class AbstractCheckInterceptor
- extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
Abstract check interceptor.
- Since:
- 0.1
- Author:
- tchemit
- See Also:
- Serialized Form
| Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor |
destroy, init |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
redirectAction
protected String redirectAction
- Where to redirect where user is loggued
AbstractCheckInterceptor
public AbstractCheckInterceptor()
setRedirectAction
public void setRedirectAction(String redirectAction)
doCheck
protected abstract boolean doCheck(com.opensymphony.xwork2.ActionInvocation invocation)
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- Specified by:
intercept in interface com.opensymphony.xwork2.interceptor.Interceptor- Specified by:
intercept in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
- Throws:
Exception
getRedirectUrl
protected String getRedirectUrl()
redirect
protected void redirect(String url)
throws Exception
- Throws:
Exception
Copyright © 2011 Ifremer. All Rights Reserved.