I have a RESTful Spring application, which can process various request with various controllers and various @RequestMapping-s.
Now I wish each request contain additionally a user/password pair, user as user GET parameter ?user=username and password in password POST parameter.
Is it possible to "preprocess" all requests before they go to controllers and check credentials and possible return authentication error?
Is this a mechanism, which is caller "filters" or not?