Class SimpleConversionErrorInterceptor
java.lang.Object
com.atlassian.bamboo.ww2.interceptors.SimpleConversionErrorInterceptor
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor
,Serializable
public class SimpleConversionErrorInterceptor
extends Object
implements com.opensymphony.xwork2.interceptor.Interceptor
A simple
ConversionErrorInterceptor
that sets the value of the field directly back in the context rather than
in the stack, which get evaluated as an OGNL expression. Workaround for:
https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt- Since:
- v3.4
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SimpleConversionErrorInterceptor
public SimpleConversionErrorInterceptor()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
init
public void init()- Specified by:
init
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
intercept
- Specified by:
intercept
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
- Throws:
Exception
-