GitHub user alopresto opened a pull request:

    https://github.com/apache/nifi/pull/622

    NIFI-2186 Refactored CertificateUtils to separate logic for DN extrac…

    …tion from server/client sockets. Added logic to detect server/client 
mode encapsulated in exposed method.
    
    Added unit tests for DN extraction.
    Corrected typo in Javadoc.
    Switched server/client socket logic for certificate extraction -- when the 
local socket is in client/server mode, the peer is necessarily the inverse.
    Fixed unit tests.
    Moved lazy-loading authentication access out of isDebugEnabled() control 
branch.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alopresto/nifi NIFI-2186

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/622.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 #622
    
----
commit b6fec77ccab01664a11518b6f9652bc2cd855040
Author: Andy LoPresto <[email protected]>
Date:   2016-07-05T04:05:58Z

    NIFI-2186 Refactored CertificateUtils to separate logic for DN extraction 
from server/client sockets. Added logic to detect server/client mode 
encapsulated in exposed method.
    Added unit tests for DN extraction.
    Corrected typo in Javadoc.
    Switched server/client socket logic for certificate extraction -- when the 
local socket is in client/server mode, the peer is necessarily the inverse.
    Fixed unit tests.
    Moved lazy-loading authentication access out of isDebugEnabled() control 
branch.

----


---
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.
---

Reply via email to