adutra commented on code in PR #765: URL: https://github.com/apache/polaris/pull/765#discussion_r1916877307
########## service/common/src/main/java/org/apache/polaris/service/ratelimiter/RateLimiterFilter.java: ########## @@ -29,6 +33,9 @@ /** Request filter that returns a 429 Too Many Requests if the rate limiter says so */ @Provider +@PreMatching +@Priority(Priorities.USER) Review Comment: Using `USER` means that this filter cannot be abused by unauthenticated requests – but also means, that malicious requests will hit the authenticator filter first, thus defeating the purpose of a rate limiter. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
