org.nuiton.wikitty.publication.ui.interceptor
Class LoginInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
org.nuiton.wikitty.publication.ui.interceptor.LoginInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
public class LoginInterceptor
- extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
Interceptor used to redirect a non-logged user if he tries to access a page
where logging is mandatory
- 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 |
error
protected String error
LoginInterceptor
public LoginInterceptor()
getError
public String getError()
setError
public void setError(String error)
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
Copyright © 2010-2011 CodeLutin. All Rights Reserved.