com.atlassian.bamboo.ww2.interceptors
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:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleConversionErrorInterceptor
public SimpleConversionErrorInterceptor()
destroy
public void destroy()
- Specified by:
destroy
in interface com.opensymphony.xwork2.interceptor.Interceptor
init
public void init()
- Specified by:
init
in interface com.opensymphony.xwork2.interceptor.Interceptor
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- Specified by:
intercept
in interface com.opensymphony.xwork2.interceptor.Interceptor
- Throws:
Exception
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.