knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: Removed accidentally inserted line of code.
Date Tue, 19 Mar 2013 22:28:46 GMT
Updated Branches:
  refs/heads/master f5d086c2d -> 786e307be


Removed accidentally inserted line of code.


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

Branch: refs/heads/master
Commit: 786e307be3af356694b3ade3b3a92857baedff69
Parents: f5d086c
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Tue Mar 19 18:28:41 2013 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Tue Mar 19 18:28:41 2013 -0400

----------------------------------------------------------------------
 .../gateway/filter/PostAuthenticationFilter.java   |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/786e307b/gateway-provider-security-shiro/src/main/java/org/apache/hadoop/gateway/filter/PostAuthenticationFilter.java
----------------------------------------------------------------------
diff --git a/gateway-provider-security-shiro/src/main/java/org/apache/hadoop/gateway/filter/PostAuthenticationFilter.java
b/gateway-provider-security-shiro/src/main/java/org/apache/hadoop/gateway/filter/PostAuthenticationFilter.java
index 12083cf..bdd7154 100644
--- a/gateway-provider-security-shiro/src/main/java/org/apache/hadoop/gateway/filter/PostAuthenticationFilter.java
+++ b/gateway-provider-security-shiro/src/main/java/org/apache/hadoop/gateway/filter/PostAuthenticationFilter.java
@@ -71,7 +71,6 @@ public class PostAuthenticationFilter implements Filter {
         }
       };
       Subject shiroSubject = SecurityUtils.getSubject();
-      shiroSubject.login(null);
       final String principal = (String) shiroSubject.getPrincipal();
       HashSet emptySet = new HashSet();
       Set<Principal> principals = new HashSet<Principal>();


Mime
View raw message