Package pyGlobus :: Module ftpControl :: Class AuthInfo
[show private | hide private]
[frames | no frames]

Class AuthInfo


Class that wraps auth_info_t struct
Method Summary
  __init__(self, credential, encrypt, user, password, account, subject, handle)
Initializes an AuthInfo, which contains a user's authentication information, not all of the arguments you can use your credentials or user name and password for authentication.
  __del__(self)
Frees the memory allocated in the constructor
  compare(self, authInfo)
Return a boolean indictating whether the AuthInfo objects are equivalent
  get_handle(self)

Method Details

__init__(self, credential, encrypt, user=None, password=None, account=None, subject=None, handle=None)
(Constructor)

Initializes an AuthInfo, which contains a user's authentication information, not all of the arguments you can use your credentials or user name and password for authentication.
Parameters:
credential - A GSSCred object of the user's credentials
encrypt - A boolean indicating whether encryption should be used
user - A string indicating the user or None
password - A string of the password, or None Note: There should be a better way to do this, because this is not secure
account - A string of the user account or None
subject - A string of the subject DN, it must be the DN of the end entity that you want to authenticate yourself to. It can also be None

__del__(self)
(Destructor)

Frees the memory allocated in the constructor

compare(self, authInfo)

Parameters:
authInfo - an AuthInfo object to compare
Returns:
a boolean indictating whether the AuthInfo objects are equivalent

Generated by Epydoc 2.1 on Tue Apr 4 14:32:54 2006 http://epydoc.sf.net