knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dillido...@apache.org
Subject git commit: KNOX-25: Knox should support authentication using SPNEGO from browser
Date Mon, 28 Jul 2014 21:18:06 GMT
Repository: knox
Updated Branches:
  refs/heads/master 43fb9e4a3 -> 5fd06aff2


KNOX-25: Knox should support authentication using SPNEGO from browser


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

Branch: refs/heads/master
Commit: 5fd06aff2ce5a6328141239f70b67dcb8b277cea
Parents: 43fb9e4
Author: Dilli Dorai Arumugam <darumugam@hortonworks.com>
Authored: Mon Jul 28 14:16:45 2014 -0700
Committer: Dilli Dorai Arumugam <darumugam@hortonworks.com>
Committed: Mon Jul 28 14:16:45 2014 -0700

----------------------------------------------------------------------
 .../filter/IdentityAsserterHttpServletRequestWrapper.java           | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/5fd06aff/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/IdentityAsserterHttpServletRequestWrapper.java
----------------------------------------------------------------------
diff --git a/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/IdentityAsserterHttpServletRequestWrapper.java
b/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/IdentityAsserterHttpServletRequestWrapper.java
index 6e8d153..633abee 100644
--- a/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/IdentityAsserterHttpServletRequestWrapper.java
+++ b/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/IdentityAsserterHttpServletRequestWrapper.java
@@ -122,6 +122,7 @@ public class IdentityAsserterHttpServletRequestWrapper extends HttpServletReques
 
     if ("true".equals(System.getProperty(GatewayConfig.HADOOP_KERBEROS_SECURED))) {
       params.put(DOAS_PRINCIPAL_PARAM, al.toArray(a));
+      params.remove(PRINCIPAL_PARAM);
     } else {
       params.put(PRINCIPAL_PARAM, al.toArray(a));
     }


Mime
View raw message