ServiceObject.IsValid() method

Ivan R. Judson judson at mcs.anl.gov
Mon Feb 10 15:56:15 CST 2003


Excellent, this will tie another loose end on the server startup stuff.

--Ivan

> -----Original Message-----
> From: Robert Olson [mailto:olson at mcs.anl.gov] 
> Sent: Monday, February 10, 2003 3:39 PM
> To: judson at mcs.anl.gov; judson at mcs.anl.gov; 'AG Dev'
> Subject: RE: ServiceObject.IsValid() method
> 
> 
> 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