HTTPCLIENT-1540: Support delegated credentials (ISC_REQ_DELEGATE) via ClientWinAuth

Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618165 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2014-08-15 12:37:37 +00:00
parent f55bdec7c8
commit 2b302e050a
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class WindowsNegotiateScheme extends AuthSchemeBase {
sppicontext = new CtxtHandle();
final int rc = Secur32.INSTANCE.InitializeSecurityContext(clientCred,
continueCtx, targetName, Sspi.ISC_REQ_CONNECTION, 0,
continueCtx, targetName, Sspi.ISC_REQ_CONNECTION | Sspi.ISC_REQ_DELEGATE, 0,
Sspi.SECURITY_NATIVE_DREP, continueToken, 0, sppicontext, token,
attr, null);
switch (rc) {