X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Fcredential.py;h=d8451d74d2c6ffa3a9347ef3f8179cd9cd1c51ee;hb=3d7237fa0b5f2b4a60cb97c7fb3b6aecfd94558a;hp=8515e3141d317290a8c190e4da7cc78ad581c39b;hpb=f13173726f8382eef380f1e754f24dd2b126a77b;p=sfa.git diff --git a/sfa/trust/credential.py b/sfa/trust/credential.py index 8515e314..d8451d74 100644 --- a/sfa/trust/credential.py +++ b/sfa/trust/credential.py @@ -1,5 +1,5 @@ ## -# Implements Geni Credentials +# Implements SFA Credentials # # Credentials are layered on top of certificates, and are essentially a # certificate that stores a tuple of parameters. @@ -13,6 +13,7 @@ import xmlrpclib from sfa.trust.certificate import Certificate from sfa.trust.rights import * from sfa.trust.gid import * +from sfa.util.faults import * ## # Credential is a tuple: @@ -47,6 +48,8 @@ class Credential(Certificate): def set_gid_caller(self, gid): self.gidCaller = gid + # gid origin caller is the caller's gid by default + self.gidOriginCaller = gid ## # get the GID of the object