fr.ifremer.echobase.ui.interceptors
Class CheckLogguedInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
fr.ifremer.echobase.ui.interceptors.AbstractCheckInterceptor
fr.ifremer.echobase.ui.interceptors.CheckLogguedInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
public class CheckLogguedInterceptor
- extends AbstractCheckInterceptor
To check user is loggued. If not, then redirect to the loginAction.
- 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 |
loginAction
protected String loginAction
- Where to redirect if user is not authenticated.
URL_PATTERN
protected static final String URL_PATTERN
- See Also:
- Constant Field Values
CheckLogguedInterceptor
public CheckLogguedInterceptor()
setLoginAction
public void setLoginAction(String loginAction)
doCheck
protected boolean doCheck(com.opensymphony.xwork2.ActionInvocation invocation)
- Specified by:
doCheck in class AbstractCheckInterceptor
getRedirectUrl
protected String getRedirectUrl()
- Overrides:
getRedirectUrl in class AbstractCheckInterceptor
Copyright © 2011-2012 Ifremer. All Rights Reserved.