directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [26/48] directory-kerby git commit: Minor fix
Date Wed, 04 Nov 2015 08:25:52 GMT
Minor fix


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/657a5b56
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/657a5b56
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/657a5b56

Branch: refs/heads/pkinit-support
Commit: 657a5b56ff14793e3524925da20359a0ead44c2c
Parents: 6ad6984
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Sep 30 12:23:33 2015 +0200
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Sep 30 14:54:31 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/kerby/kerberos/kdc/WithTokenKdcTestBase.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/657a5b56/kerby-kdc-test/src/test/java/org/apache/kerby/kerberos/kdc/WithTokenKdcTestBase.java
----------------------------------------------------------------------
diff --git a/kerby-kdc-test/src/test/java/org/apache/kerby/kerberos/kdc/WithTokenKdcTestBase.java
b/kerby-kdc-test/src/test/java/org/apache/kerby/kerberos/kdc/WithTokenKdcTestBase.java
index d84d11b..ac20938 100644
--- a/kerby-kdc-test/src/test/java/org/apache/kerby/kerberos/kdc/WithTokenKdcTestBase.java
+++ b/kerby-kdc-test/src/test/java/org/apache/kerby/kerberos/kdc/WithTokenKdcTestBase.java
@@ -78,7 +78,7 @@ public class WithTokenKdcTestBase extends KdcTestBase {
         authToken.setAudiences(aud);
 
         // Set expiration in 60 minutes
-        final Date now =  new Date(new Date().getTime() / 1000 * 1000);
+        final Date now = new Date();
         Date exp = new Date(now.getTime() + 1000 * 60 * 60);
         authToken.setExpirationTime(exp);
 


Mime
View raw message