knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject knox git commit: KNOX-960 - Fix build failures
Date Mon, 05 Jun 2017 15:47:25 GMT
Repository: knox
Updated Branches:
  refs/heads/master ebdb1d793 -> 6d17873c9


KNOX-960 - Fix build failures


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

Branch: refs/heads/master
Commit: 6d17873c93af181f511ade54b73e555c08f9a3db
Parents: ebdb1d7
Author: Sandeep More <more@apache.org>
Authored: Mon Jun 5 11:47:12 2017 -0400
Committer: Sandeep More <more@apache.org>
Committed: Mon Jun 5 11:47:12 2017 -0400

----------------------------------------------------------------------
 .../hadoop/gateway/provider/federation/AbstractJWTFilterTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/6d17873c/gateway-provider-security-jwt/src/test/java/org/apache/hadoop/gateway/provider/federation/AbstractJWTFilterTest.java
----------------------------------------------------------------------
diff --git a/gateway-provider-security-jwt/src/test/java/org/apache/hadoop/gateway/provider/federation/AbstractJWTFilterTest.java
b/gateway-provider-security-jwt/src/test/java/org/apache/hadoop/gateway/provider/federation/AbstractJWTFilterTest.java
index 58ba3ba..26d477f 100644
--- a/gateway-provider-security-jwt/src/test/java/org/apache/hadoop/gateway/provider/federation/AbstractJWTFilterTest.java
+++ b/gateway-provider-security-jwt/src/test/java/org/apache/hadoop/gateway/provider/federation/AbstractJWTFilterTest.java
@@ -302,7 +302,7 @@ public abstract class AbstractJWTFilterTest  {
       Properties props = getProperties();
       handler.init(new TestFilterConfig(props));
 
-      SignedJWT jwt = getJWT("bob",new Date(new Date().getTime() + 5000), privateKey);
+      SignedJWT jwt = getJWT("bob",new Date(new Date().getTime() + 5000), privateKey, props);
 
       HttpServletRequest request = EasyMock.createNiceMock(HttpServletRequest.class);
       setGarbledTokenOnRequest(request, jwt);


Mime
View raw message