mirror of https://github.com/apache/nifi.git
NIFI-10550 Fixing SSH Context Service validation for NifiRegistryFlowRegistryClient (#6451)
This commit is contained in:
parent
17084a1f09
commit
e5059e0514
|
@ -133,7 +133,7 @@ public class NifiRegistryFlowRegistryClient extends AbstractFlowRegistryClient {
|
|||
final SSLContextService sslContextService = context.getProperty(SSL_CONTEXT_SERVICE).asControllerService(SSLContextService.class);
|
||||
|
||||
|
||||
if (!(sslContextService.isTrustStoreConfigured() ^ sslContextService.isKeyStoreConfigured())) {
|
||||
if (sslContextService.isTrustStoreConfigured() ^ sslContextService.isKeyStoreConfigured()) {
|
||||
result.add(new ValidationResult.Builder().subject(this.getClass().getSimpleName())
|
||||
.valid(false)
|
||||
.explanation("It is expected to either set all the properties for the SSLContext or set none")
|
||||
|
|
Loading…
Reference in New Issue