I want to over ride the default getParameter()
method of ServletRequestWrapper
with getParameter()
method of SecurityRequestWrapper
.
For example, if I am using a simple jsp form to take the name of a person,
String name = request.getParameter("firstName");
I want the above getParameter()
method to be from the SecurityRequestWrapper
class. I am not able to understand how the request object is over riden since the getParameter
method is mostly called on it by default in any jsp form.