Spring MVC - How to check that no unexpected query string parameters has been passed?
You could implement your own HandlerInterceptor. In preHandle method you can obtain all HandlerMethod's parameters annotated with @RequestParameter. These will be all allowed parameters in request.