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:
parent
f55bdec7c8
commit
2b302e050a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue