The NiFi Jetty Server currently relies on the Jetty Denial of Service Filter to provide configurable rate-limiting for HTTP requests. The DoSFilter applies to all requests and setting to the limit too low can cause unexpected problems during system administration or data transfer.
When configured with a Login Identity Provider, Access Token requests support authenticating users against the specified provider. The number of Access Token requests from a given remote address should be minimal and predictable based on the expected number of authorized users. Introducing a separate configuration property and targeted filter for Access Token requests will allow the NiFi Jetty Server to reject excessive numbers of authentication attempts while permitting higher numbers of requests to other resources.