org.apache.empire.struts2.interceptors
Class ActionAccessInterceptor

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by org.apache.empire.struts2.interceptors.InterceptorSupport
          extended by org.apache.empire.struts2.interceptors.ActionAccessInterceptor
All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor, Serializable

public class ActionAccessInterceptor
extends InterceptorSupport

See Also:
Serialized Form

Field Summary
protected static org.slf4j.Logger log
           
 
Fields inherited from class org.apache.empire.struts2.interceptors.InterceptorSupport
NONE
 
Constructor Summary
ActionAccessInterceptor()
           
 
Method Summary
 String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
           
 void setAccessDeniedAction(String accessDeniedAction)
           
 void setLoginAction(String loginAction)
           
 
Methods inherited from class org.apache.empire.struts2.interceptors.InterceptorSupport
redirect
 
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
 

Field Detail

log

protected static org.slf4j.Logger log
Constructor Detail

ActionAccessInterceptor

public ActionAccessInterceptor()
Method Detail

setLoginAction

public void setLoginAction(String loginAction)

setAccessDeniedAction

public void setAccessDeniedAction(String accessDeniedAction)

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 © 2008-2012 Apache Software Foundation. All Rights Reserved.