You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Dima Kovalyov (JIRA)" <ji...@apache.org> on 2019/04/02 16:47:00 UTC
[jira] [Created] (NIFI-6174) ListenBeats should expose a Client
Auth property for TLS/SSL
Dima Kovalyov created NIFI-6174:
-----------------------------------
Summary: ListenBeats should expose a Client Auth property for TLS/SSL
Key: NIFI-6174
URL: https://issues.apache.org/jira/browse/NIFI-6174
Project: Apache NiFi
Issue Type: Bug
Reporter: Dima Kovalyov
ListenBeats currently hard codes the client auth to REQUIRED when creating an RestrictedSSLContext:
{code:java}
sslContext = sslContextService.createSSLContext(SSLContextService.ClientAuth.REQUIRED);
{code}
It should expose a Client Auth property like ListenTCP does and use that:
{code:java}
public static final PropertyDescriptor CLIENT_AUTH = new PropertyDescriptor.Builder()
.name("Client Auth")
.description("The client authentication policy to use for the SSL Context. Only used if an SSL Context Service is provided.")
.required(false)
.allowableValues(SSLContextService.ClientAuth.values())
.defaultValue(SSLContextService.ClientAuth.REQUIRED.name())
.build();{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)