[
https://issues.apache.org/jira/browse/NIFI-9035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396249#comment-17396249
]
ASF subversion and git services commented on NIFI-9035:
-------------------------------------------------------
Commit f27cd012f33593902ddca11021a33c55224fac6a in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f27cd01 ]
NIFI-9035 Refactored isKeystoreValid() to avoid NullPointerException
- Removed unnecessary debug logging from StandardTlsConfiguration
- Replaced internal string labels with StoreType enum
Signed-off-by: Matthew Burgess <[email protected]>
This closes #5297
> Keystore Valid Check Throws NPE on null Keystore Password
> ---------------------------------------------------------
>
> Key: NIFI-9035
> URL: https://issues.apache.org/jira/browse/NIFI-9035
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework, Extensions
> Affects Versions: 1.14.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Trivial
> Labels: TLS, security
> Fix For: 1.15.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The {{StandardSSLContextService}} and other components that depend on
> {{StandardTlsConfiguration}} can throw a {{NullPointerException}} when the
> Keystore Password is {{null}}. The
> {{StandardTlsConfiguration.isKeystoreValid()}} method should return the
> appropriate status instead of throwing a {{NullPointerException}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)