git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed another bunch of references to geni
[sfa.git]
/
sfa
/
trust
/
credential.py
diff --git
a/sfa/trust/credential.py
b/sfa/trust/credential.py
index
8515e31
..
d8451d7
100644
(file)
--- 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.
#
# 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.trust.certificate import Certificate
from sfa.trust.rights import *
from sfa.trust.gid import *
+from sfa.util.faults import *
##
# Credential is a tuple:
##
# Credential is a tuple:
@@
-47,6
+48,8
@@
class Credential(Certificate):
def set_gid_caller(self, gid):
self.gidCaller = gid
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
##
# get the GID of the object