[
https://issues.apache.org/jira/browse/HTTPCLIENT-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ka-Lok Fung updated HTTPCLIENT-1540:
------------------------------------
Attachment: HTTPCLIENT-1540.patch.diff
I've confirmed our company's outbound approval so here's my patch for this
issue.
I'm setting the bit as documented in [Microsoft's
documentation|http://msdn.microsoft.com/en-us/library/windows/desktop/aa375509(v=vs.85).aspx].
> Support delegated credentials (ISC_REQ_DELEGATE) via ClientWinAuth
> ------------------------------------------------------------------
>
> Key: HTTPCLIENT-1540
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1540
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpAuth
> Affects Versions: 4.4 Alpha1
> Environment: Windows
> Reporter: Ka-Lok Fung
> Fix For: 4.4 Final
>
> Attachments: HTTPCLIENT-1540.patch.diff
>
>
> If you use this Wikipedia graphic as a reference,
> http://en.wikipedia.org/wiki/Kerberos_(protocol)#mediaviewer/File:Kerberos.svg,
> the current implementation in HttpClient 4.4alpha1 does the first (red) and
> last (green) steps but it doesn't do the middle one (middle). By adding a
> parameter, it won't skip out on the middle step (where the Windows LSA will
> ask the Windows domain controller to generate a ticket-granting-ticket for
> the requested service).
> In {{WindowsNegotiateScheme.getToken()}}, the change would be to update
> {{Sspi.ISC_REQ_CONNECTION}} to {{Sspi.ISC_REQ_CONNECTION |
> Sspi.ISC_REQ_DELEGATE}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]