Package AccessGrid :: Package Platform :: Package win32 :: Module Config :: Class GlobusConfig
[show private | hide private]
[frames | no frames]

Class GlobusConfig

GlobusConfig --+
               |
              GlobusConfig


This object encapsulates the information required to correctly configure Globus and pyGlobus for use with the Access Grid Toolkit.

HKCU\Software\Globus HKCU\Software\Globus\GSI HKCU\Software\Globus\GSIP9_user_proxy = {%TEMP%|win emp}\proxy HKCU\Software\Globus\GSIP9_user_key={userappdata}\globus\userkey.pem HKCU\Software\Globus\GSIP9_user_cert={userappdata}\globus\usercert.pem HKCU\Software\Globus\GSIP9_cert_dir={app}\config\certificates HKCU\Environment\GLOBUS_LOCATION = {app}
Method Summary
  __init__(self, initIfNeeded)
This is the constructor, the only argument is used to indicate a desire to intialize the existing environment if it is discovered to be uninitialized.
  GetGlobusKey(self)
  instance(initIfNeeded)
(Static method)
  SetUserCert(self, cert, key)
Configure globus runtime for using a cert and key pair.
    Inherited from GlobusConfig
  __str__(self)
  _repr_(self)
  GetDistCACertDir(self)
  GetDistCertFileName(self)
  GetDistKeyFileName(self)
  Getenv(self, name)
  GetHostname(self)
  GetLocation(self)
  GetProxyFileName(self)
  RemoveHostname(self)
  RemoveLocation(self)
  SetActiveCACertDir(self, dir)
  Setenv(self, name, val)
  SetHostname(self)
Ensure that we have a valid Globus hostname.
  SetLocation(self, location)
  SetProxyCert(self, proxyFile)
Configure globus runtime for using a proxy cert.
  Unsetenv(self, name)

Instance Variable Summary
  distCACertDir: the directory of Certificate Authority Certificates as shipped with the toolkit
  distCertFileName: The filename of the X509 certificate as used by a system installation of Globus
  distKeyFileName: The filename of the X509 private key as used by a system installation of Globus
  hostname: the Hostname for the globus configuration
  location: the location of the globus installation
    Inherited from GlobusConfig
  caCertDir: the directory of Certificate Authority Certificates
  certFile: The filename of the X509 certificate.
  keyFile: The filename of the X509 key.
  proxyFile: THe filename for the globus proxy

Class Variable Summary
GlobusConfig theGlobusConfigInstance = <AccessGrid.Platform.win32.Con...

Instance Method Details

__init__(self, initIfNeeded)
(Constructor)

This is the constructor, the only argument is used to indicate a desire to intialize the existing environment if it is discovered to be uninitialized.
Parameters:
initIfNeeded - a flag indicating if this object should initialize the system if it is not.
           (type=integer)
Overrides:
AccessGrid.Config.GlobusConfig.__init__

SetUserCert(self, cert, key)

Configure globus runtime for using a cert and key pair.
Overrides:
AccessGrid.Config.GlobusConfig.SetUserCert

Instance Variable Details

distCACertDir

the directory of Certificate Authority Certificates as shipped with the toolkit

distCertFileName

The filename of the X509 certificate as used by a system installation of Globus

distKeyFileName

The filename of the X509 private key as used by a system installation of Globus

hostname

the Hostname for the globus configuration

location

the location of the globus installation

Class Variable Details

theGlobusConfigInstance

Type:
GlobusConfig
Value:
<AccessGrid.Platform.win32.Config.GlobusConfig instance at 0x01E254E0> 

Generated by Epydoc 2.1 on Thu Apr 14 16:39:31 2005 http://epydoc.sf.net