| Home | Trees | Index | Help |
|
|---|
| Package AccessGrid :: Package Security :: Module Subject :: Class Subject |
|
X509SubjectA Subject is an instance of a credential used by an AG User.
A Subject can be identified by various authentication mechanisms. we currently support X509 certificates (per Globus).| Method Summary | |
|---|---|
| |
Comparison operator, so two subjects can be compared. | |
A hash method so subjects can be used as dictionary keys. | |
This method converts the subject to a string. | |
This method creates an XML representation of the subject. | |
This accessory returns the authentication data. | |
This accessor returns the authentication type. | |
This accessor returns the subject name. | |
This returns a tuple containing the subject data, this is probably for legacy use. | |
This method extends the specified doc object with an xml representation of this subject. | |
| Method Details |
|---|
__init__(self,
name,
auth_type,
auth_data=None,
id='0000010342a6a9e0008c00dd00220047859')
|
__cmp__(self,
other)
|
__hash__(self)
A hash method so subjects can be used as dictionary keys.
|
__str__(self)
This method converts the subject to a string.
|
_repr_(self)This method creates an XML representation of the subject.
|
GetAuthenticationData(self)This accessory returns the authentication data.
|
GetAuthenticationType(self)This accessor returns the authentication type.
|
GetName(self)This accessor returns the subject name.
|
GetSubject(self)This returns a tuple containing the subject data, this is probably for legacy use.
|
ToXML(self, doc)This method extends the specified doc object with an xml representation of this subject.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Apr 14 16:39:28 2005 | http://epydoc.sf.net |