knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject knox git commit: KNOX-592 remove cookies only when SPNEGO negotiation starts. Patch contributed by Jeffrey Rodriguez
Date Tue, 24 Nov 2015 16:06:06 GMT
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 <sumit@apache.org>
Authored: Tue Nov 24 10:49:58 2015 -0500
Committer: Sumit Gupta <sumit@apache.org>
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));


Mime
View raw message