You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/08/04 15:33:00 UTC
[jira] [Assigned] (NIFI-10318) HandleHttpRequest code error setting property 'Client Authentication'
[ https://issues.apache.org/jira/browse/NIFI-10318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann reassigned NIFI-10318:
---------------------------------------
Assignee: David Handermann
> HandleHttpRequest code error setting property 'Client Authentication'
> ---------------------------------------------------------------------
>
> Key: NIFI-10318
> URL: https://issues.apache.org/jira/browse/NIFI-10318
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.17.0
> Environment: Docker cluster 1.17.0
> Reporter: Diego
> Assignee: David Handermann
> Priority: Major
> Labels: HandleHttpRequest
>
> New version of handlehttprequest can't set the value 'Need Authentication' in property 'Client Authentication' cause is code is overwrite with the 'Want Authentication' value status.
> {code:java}
> final StandardServerConnectorFactory serverConnectorFactory = new StandardServerConnectorFactory(server, port);
> final boolean needClientAuth = CLIENT_NEED.getValue().equals(clientAuthValue);
> serverConnectorFactory.setNeedClientAuth(needClientAuth);
> final boolean wantClientAuth = CLIENT_WANT.getValue().equals(clientAuthValue);
> serverConnectorFactory.setNeedClientAuth(wantClientAuth);{code}
>
> In last line, serverConnectorFactory.{*}setNeedClientAuth{*}(wantClientAuth); needs to be change to serverConnectorFactory.{*}setWantClientAuth{*}(wantClientAuth);
>
> Regards
--
This message was sent by Atlassian Jira
(v8.20.10#820010)