[
https://issues.apache.org/jira/browse/NIFI-8124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511489#comment-17511489
]
ASF subversion and git services commented on NIFI-8124:
-------------------------------------------------------
Commit 72435c3c6dc0e436bbb5767ed4cdf0ae26f33476 in nifi's branch
refs/heads/main from Marcus Ely
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=72435c3 ]
NIFI-8124 Added Cookie Strategy property to InvokeHTTP
This closes #5887
Signed-off-by: David Handermann <[email protected]>
> Allow Cookie Preservation in Redirects for InvokeHTTP
> -----------------------------------------------------
>
> Key: NIFI-8124
> URL: https://issues.apache.org/jira/browse/NIFI-8124
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.15.3
> Reporter: Shawn Weeks
> Assignee: Marcus Ely
> Priority: Minor
> Labels: InvokeHTTP, cookie, cookies, http
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Some authentication systems like 2-way ssl on an F5 Appliance use session
> cookies during redirection to determine who you are. Currently InvokeHTTP
> does not preserve these cookies during redirection causing authentication
> failure. The OkHttp Library supports a Cookie Jar option like curl's "-c"
> that would allow this to work. This issue is to add the option to enable that
> feature if needed but leave it disabled by default.
> Of note it appears the Apache HttpClient supports this by default exactly
> opposite from OkHttp.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)