ServiceObject.IsValid() method

Robert Olson olson at mcs.anl.gov
Mon Feb 10 15:39:07 CST 2003


At 03:33 PM 2/10/2003 -0600, Ivan R. Judson wrote:

>Another thing that comes to mind that would make the venue server startup
>easier would be some call (perhaps via the hosting environment) to return
>the authorization information of the user running the process.

Ah, right. that's in there somewhere, lemme hunt..

Now in hosting.pyGlobus.utilities:

def GetDefaultCredential():
     gss_cred = pyGlobus.security.get_default_user_credenial()
     if gss_cred is None:
         return None
     else:
         return gss_cred.get_name()

will show up when my branch gets merged. Note that if there is no proxy 
this will return None.





More information about the ag-dev mailing list