X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FCreateGid.py;h=0a2785f57e35520d961b73379cefea5485a7f9f2;hb=8ad9842ef98f6c8ba5ac7770257b9d2ce9345726;hp=eb001a1c2f6ad514349a50b9e5ad1e3c28417e64;hpb=67f861014762520ed468b01c62556280a8851f75;p=sfa.git diff --git a/sfa/methods/CreateGid.py b/sfa/methods/CreateGid.py index eb001a1c..0a2785f5 100644 --- a/sfa/methods/CreateGid.py +++ b/sfa/methods/CreateGid.py @@ -7,13 +7,13 @@ from sfa.trust.credential import Credential class CreateGid(Method): """ - Create a signed credential for the s object with the registry. In addition to being stored in the + Create a signed credential for the object with the registry. In addition to being stored in the SFA database, the appropriate records will also be created in the PLC databases + @param cred credential string @param xrn urn or hrn of certificate owner @param cert caller's certificate - @param cred credential string @return gid string representation """ @@ -39,9 +39,6 @@ class CreateGid(Method): #log the call origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() - - # log - origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, xrn, self.name)) return self.api.manager.CreateGid(self.api, xrn, cert)