Github user mcgilman commented on the issue:
https://github.com/apache/nifi/pull/1697
@YolandaMDavis Code changes look good. However, one thing I noticed is that
the error provided when the specified proxied user lacks sufficient permissions
could be made a little more user-friendly. Currently, a stack trace reports a
403 response code. It might make sense to consume the response body when the
response code is 4xx or 5xx as it should contain the reason for the failure.
This may provide more details for correcting the issue.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---