From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Wed, 4 Jun 2014 07:46:45 +0000 (+0200)
Subject: restore default credential validity period to 28 days
X-Git-Tag: sfa-3.1-7~2
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1b78b345b5373a627542c3f0271422dc7e37b9d6;p=sfa.git

restore default credential validity period to 28 days
had been inadvertantly committed as 2 hours for a while when debugging the short-lived credential issue
used to be 31 days prior to that
---

diff --git a/sfa/trust/credential.py b/sfa/trust/credential.py
index c9bc4e5b..9d0fd283 100644
--- a/sfa/trust/credential.py
+++ b/sfa/trust/credential.py
@@ -50,8 +50,7 @@ from sfa.trust.gid import GID
 from sfa.util.xrn import urn_to_hrn, hrn_authfor_hrn
 
 # 31 days, in seconds 
-DEFAULT_CREDENTIAL_LIFETIME = 2 * 3600
-#DEFAULT_CREDENTIAL_LIFETIME = 86400 * 31
+DEFAULT_CREDENTIAL_LIFETIME = 86400 * 28
 
 
 # TODO: