Suppose I have a Java server application, which implements a few web services. Suppose also, I can authenticate application users.
Now I would like to add some limits per user to the service usage: e.g. rate limit (requests per second), maximum request size, etc.
Is there any "ready-to-use" library in Java to do that?