GitHub user ijokarumawak opened a pull request:
https://github.com/apache/nifi/pull/1010
NIFI-2757: Site-to-Site with DN mapping
Added DN identity mapping pattern support to Site-to-Site client
authorization.
HTTP Site-to-Site has been working without this fix since it uses the same
mechanism with other REST endpoints for authenticating user identity. This PR
fixes RAW transport protocol, by adding mapping code at
`StandardRootGroupPort.checkUserAuthorization(final String dn)`.
Confirmed it worked using two running NiFi instances. Contrib check passed
locally.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijokarumawak/nifi nifi-2757
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1010.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1010
commit fff756728b93c3c962b2ce40327cf02700eca3ff
Author: Koji Kawamura
Date: 2016-09-13T04:24:59Z
NIFI-2757: Site-to-Site with DN mapping
Added DN identity mapping pattern support to Site-to-Site client
authorization.
---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---