from sfa.trust.auth import Auth
from sfa.trust.credential import Credential
+
class get_trusted_certs(Method):
"""
@param cred credential string specifying the rights of the caller
# If cred is not specified just return the gid for this interface.
# This is true when when a peer is attempting to initiate federation
# with this interface
- sfalogging.logger.debug("get_trusted_certs: %r"%cred)
+ self.api.logger.debug("get_trusted_certs: %r"%cred)
if not cred:
gid_strings = []
for gid in self.api.auth.trusted_cert_list:
runtime = time.time() - start
if self.api.config.SFA_API_DEBUG or hasattr(self, 'message'):
- msg=getattr(self,'message',"method %s completed"%methodname)
+ msg=getattr(self,'message',"method %s completed in %02f s"%(methodname,runtime))
sfa_logger.info(msg)
return result