X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Fcredential.py;h=ad2d201ae36418afa063f5ba263fdbcc5e70c85c;hb=3d51e29695f79b143974f5cf7b2e104d89626ba4;hp=7f347574a7f4f2318d44aca2c76fd488e92661e9;hpb=6d8f4a104dbe6e8925dec1f2a89fb3e152491d4a;p=sfa.git diff --git a/sfa/trust/credential.py b/sfa/trust/credential.py index 7f347574..ad2d201a 100644 --- a/sfa/trust/credential.py +++ b/sfa/trust/credential.py @@ -51,7 +51,7 @@ from sfa.trust.gid import GID from sfa.util.xrn import urn_to_hrn, hrn_authfor_hrn # 2 weeks, in seconds -DEFAULT_CREDENTIAL_LIFETIME = 86400 * 14 +DEFAULT_CREDENTIAL_LIFETIME = 86400 * 31 # TODO: @@ -280,6 +280,7 @@ class Credential(object): self.decode() return self.gidObject.get_printable_subject() + # sounds like this should be __repr__ instead ?? def get_summary_tostring(self): if not self.gidObject: self.decode()