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
woraround for undefined 'options' in checkCredentials
[sfa.git]
/
sfa
/
trust
/
auth.py
diff --git
a/sfa/trust/auth.py
b/sfa/trust/auth.py
index
65ce3fc
..
0b4d337
100644
(file)
--- a/
sfa/trust/auth.py
+++ b/
sfa/trust/auth.py
@@
-70,7
+70,10
@@
class Auth:
error=[None,None]
# if speaks for gid matches caller cert then we've found a valid
error=[None,None]
# if speaks for gid matches caller cert then we've found a valid
- # speaks for credential
+ # speaks for credential
+ ### Thierry : we have no options to pass determine_speaks_for in this context
+ # so only as a workaround here:
+ options={}
speaks_for_gid = determine_speaks_for(logger, creds, self.peer_cert, \
options, self.trusted_cert_list)
speaks_for_gid = determine_speaks_for(logger, creds, self.peer_cert, \
options, self.trusted_cert_list)