ServiceObject.IsValid() method
Robert Olson
olson at mcs.anl.gov
Mon Feb 10 15:48:24 CST 2003
Doh. here's what it actually is, working, and with a better name:
def GetDefaultIdentityDN():
gss_cred = pyGlobus.security.gss_default_user_credential()
if gss_cred is None:
return None
else:
return gss_cred.get_name()
At 03:39 PM 2/10/2003 -0600, Robert Olson wrote:
>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