removed another bunch of references to geni
[sfa.git] / sfa / trust / credential.py
index 8515e31..d8451d7 100644 (file)
@@ -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