[
https://issues.apache.org/jira/browse/NIFI-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andre F de Miranda updated NIFI-3794:
-------------------------------------
Description:
ListenRELP currently hard codes the client auth to REQUIRED when creating an
SSLContext:
{code}
sslContext =
sslContextService.createSSLContext(SSLContextService.ClientAuth.REQUIRED);
{code}
It should expose a Client Auth property like ListenTCP does and use that:
{code}
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}
was:
ListenSyslog currently hard codes the client auth to REQUIRED when creating an
SSLContext:
{code}
sslContext =
sslContextService.createSSLContext(SSLContextService.ClientAuth.REQUIRED);
{code}
It should expose a Client Auth property like ListenTCP does and use that:
{code}
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}
> ListenRELP should expose a Client Auth property for TLS/SSL
> -----------------------------------------------------------
>
> Key: NIFI-3794
> URL: https://issues.apache.org/jira/browse/NIFI-3794
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Andre F de Miranda
>
> ListenRELP currently hard codes the client auth to REQUIRED when creating an
> SSLContext:
> {code}
> sslContext =
> sslContextService.createSSLContext(SSLContextService.ClientAuth.REQUIRED);
> {code}
> It should expose a Client Auth property like ListenTCP does and use that:
> {code}
> 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
(v6.3.15#6346)