You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2016/12/30 13:01:58 UTC

[jira] [Updated] (NIFI-3004) Improve StandardSSLContextService customValidate

     [ https://issues.apache.org/jira/browse/NIFI-3004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard updated NIFI-3004:
---------------------------------
    Assignee: Pierre Villard
      Status: Patch Available  (was: Open)

> Improve StandardSSLContextService customValidate
> ------------------------------------------------
>
>                 Key: NIFI-3004
>                 URL: https://issues.apache.org/jira/browse/NIFI-3004
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.0.0
>            Reporter: Michael Moser
>            Assignee: Pierre Villard
>            Priority: Minor
>              Labels: newbie
>
> The StandardSSLContextService customValidate() method can be called many times in one validation cycle, so it must be efficient.  Currently, it calls validateStore() on keystore and truststore, which opens each file and verifies it can be read and the password is correct.  If that works then it calls verifySslConfig() which creates 3 sample SSLContext objects.
> Improve this by remembering when customValidate() has been successful and avoiding doing another full validation either for a very small amount of time or until one of the Property values changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)