[Lada-commits] [PATCH 3 of 3] Interpret session_timeout_minutes as minutes value instead of secs

Wald Commits scm-commit at wald.intevation.org
Fri Mar 13 15:20:39 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1426256429 -3600
# Branch openid
# Node ID ac953bee7246f45117e560a621558badd1b6b67c
# Parent  81cdf448d2cfb1e8c2745c998f392bf0c82edd32
Interpret session_timeout_minutes as minutes value instead of secs.

diff -r 81cdf448d2cf -r ac953bee7246 src/main/java/de/intevation/lada/util/auth/OpenIDFilter.java
--- a/src/main/java/de/intevation/lada/util/auth/OpenIDFilter.java	Fri Mar 13 15:20:05 2015 +0100
+++ b/src/main/java/de/intevation/lada/util/auth/OpenIDFilter.java	Fri Mar 13 15:20:29 2015 +0100
@@ -255,7 +255,7 @@
         /* We probably want to implement our own association store to keep
          * associations persistent. */
         manager.setAssociations(new InMemoryConsumerAssociationStore());
-        manager.setNonceVerifier(new SessionNonceVerifier(sessionTimeout));
+        manager.setNonceVerifier(new SessionNonceVerifier(sessionTimeout * 60));
         manager.setMinAssocSessEnc(AssociationSessionType.DH_SHA256);
         discoveryDone = discoverServer();
     }


More information about the Lada-commits mailing list