Repository: knox Updated Branches: refs/heads/v0.6.0 2e71b58ad -> 68db3a30e
KNOX-592 remove cookies only when SPNEGO negotiation starts. Patch contributed by Jeffrey Rodriguez Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/68db3a30 Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/68db3a30 Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/68db3a30 Branch: refs/heads/v0.6.0 Commit: 68db3a30e0dff4226ea9833bd4c553c4eaad59ed Parents: 2e71b58 Author: Sumit Gupta <[email protected]> Authored: Tue Nov 24 10:49:58 2015 -0500 Committer: Sumit Gupta <[email protected]> Committed: Tue Nov 24 10:49:58 2015 -0500 ---------------------------------------------------------------------- .../java/org/apache/hadoop/gateway/dispatch/DefaultDispatch.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/68db3a30/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/DefaultDispatch.java ---------------------------------------------------------------------- diff --git a/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/DefaultDispatch.java b/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/DefaultDispatch.java index 8165df5..ba10ab1 100644 --- a/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/DefaultDispatch.java +++ b/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/DefaultDispatch.java @@ -213,7 +213,6 @@ public class DefaultDispatch extends AbstractGatewayDispatch { protected HttpResponse executeKerberosDispatch(HttpUriRequest outboundRequest, HttpClient client) throws IOException { HttpResponse inboundResponse; - outboundRequest.removeHeaders(COOKIE); String appCookie = appCookieManager.getCachedAppCookie(); if (appCookie != null) { outboundRequest.addHeader(new BasicHeader(COOKIE, appCookie));
