Home | Trees | Index | Help |
|
---|
Package g4ds :: Module securitymanager :: Class CredentialManager |
|
Method Summary | |
---|---|
Initialises the manager with the subjacent database. | |
Some basic information about the object | |
Add one credential to the manager. | |
Returns the credential instance for the given credential id. | |
List of Credential
|
Returns a list of all saved credentials. |
List of Credential
|
Returns a list of credentials, whose member is the one with the id given. |
Removes the credential with the given id from the manager (and the database if connected). | |
Removes all credentials from the manager (and database) for the member with the given id. |
Instance Variable Summary | |
---|---|
Dict (String | Credential ) |
_credentials : Dictionary, maintaining the credentials - accessable by its id |
Boolean |
_dbconnected : Indicates, whether the manager is connected to a database; hence
whether the changes shall be written through |
securitymanager_db.SecDB |
_sec_db : Security Database Connector |
Method Details |
---|
__init__(self,
loadFromDatabase=1)
Initialises the manager with the subjacent database.
|
__str__(self)
Some basic information about the object
|
addCredential(self, credential, persistent=1)Add one credential to the manager.
|
getCredential(self, credentialId)Returns the credential instance for the given credential id. |
getCredentials(self)Returns a list of all saved credentials.
|
getCredentialsForMember(self, memberid)Returns a list of credentials, whose member is the one with the id given.
|
removeCredential(self, credentialid)Removes the credential with the given id from the manager (and the database if connected). |
removeCredentialsForMember(self, memberid)Removes all credentials from the manager (and database) for the member with the given id. |
Instance Variable Details |
---|
_credentialsDictionary, maintaining the credentials - accessable by its id
|
_dbconnectedIndicates, whether the manager is connected to a database; hence whether the changes shall be written through
|
_sec_dbSecurity Database Connector
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |