Mercurial > lada > lada-server
changeset 555:ac953bee7246 openid
Interpret session_timeout_minutes as minutes value instead of secs.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 13 Mar 2015 15:20:29 +0100 |
parents | 81cdf448d2cf |
children | 0e46adb8fcc5 |
files | src/main/java/de/intevation/lada/util/auth/OpenIDFilter.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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(); }