shouldn't specify an hrn when validating credentials for this operation
authorTony Mack <tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:42:45 +0000 (21:42 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:42:45 +0000 (21:42 +0000)
sfa/methods/GetCredential.py

index a604ea0..eb535ed 100644 (file)
@@ -41,7 +41,7 @@ class GetCredential(Method):
             hrn, type = urn_to_hrn(xrn)
 
         # check creds
-        valid_creds = self.api.auth.checkCredentials(creds, 'getcredential', hrn)
+        valid_creds = self.api.auth.checkCredentials(creds, 'getcredential')
         self.api.auth.verify_object_belongs_to_me(hrn)
 
         #log the call