hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ka-Lok Fung (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1540) Support delegated credentials (ISC_REQ_DELEGATE) via ClientWinAuth
Date Fri, 15 Aug 2014 07:05:18 GMT

     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message