knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: KNOX-78: spnego authorization to cluster is failing Prevents any Authorization header sent by a client from being propigated to the cluster.
Date Mon, 01 Jul 2013 20:20:50 GMT
Updated Branches:
  refs/heads/master 96db21d40 -> 795bf86c5


KNOX-78: spnego authorization to cluster is failing
Prevents any Authorization header sent by a client from being propigated to the cluster.


Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/795bf86c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/795bf86c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/795bf86c

Branch: refs/heads/master
Commit: 795bf86c56bb14236a714353879657d32cbb2c42
Parents: 96db21d
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Mon Jul 1 16:20:46 2013 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Mon Jul 1 16:20:46 2013 -0400

----------------------------------------------------------------------
 .../apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/795bf86c/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
----------------------------------------------------------------------
diff --git a/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
b/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
index 6af5d9a..525300f 100644
--- a/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
+++ b/gateway-spi/src/main/java/org/apache/hadoop/gateway/dispatch/AbstractGatewayDispatch.java
@@ -42,7 +42,7 @@ public abstract class AbstractGatewayDispatch extends AbstractGatewayFilter
impl
 
   private static Map<String,Adapter> METHOD_ADAPTERS = createMethodAdapters();
   private static int STREAM_COPY_BUFFER_SIZE = 4096;
-  private static final List<String> EXCLUDE_HEADERS = Arrays.asList( "Content-Length"
);
+  private static final List<String> EXCLUDE_HEADERS = Arrays.asList( "Content-Length",
"Authorization");
 
   private static Map<String,Adapter> createMethodAdapters() {
     Map<String,Adapter> map = new HashMap<String,Adapter>();


Mime
View raw message