| Home | Trees | Index | Help |
|
|---|
| Package funkload :: Module CredentialRandom :: Class CredentialRandomServer |
|
CredentialBaseServer--+ |XmlRpcBaseServer--+ | CredentialRandomServer
| Method Summary | |
|---|---|
__init__(self,
argv)
| |
Return a random (login, password). | |
Return a list of 10 random credentials. | |
Retrun a list of 10 random group name. | |
| Inherited from XmlRpcBaseServer | |
main server loop. | |
Return a status. | |
init the XMLR/PC Server. | |
Log information. | |
Debug log. | |
Parse programs args. | |
main server loop. | |
Stop the server. | |
| Class Variable Summary | |
|---|---|
list |
method_names = ['stopServer', 'getStatus', 'getCredentia...
|
str |
server_name = 'random_credential'
|
| Inherited from XmlRpcBaseServer | |
str |
usage = '%prog [options] config_file\n\nStart %prog XML/...
|
| Method Details |
|---|
getCredential(self, group=None)Return a random (login, password). return a random user login, the login is taken from the lipsum vocabulary so the number of login is limited to the length of the vocabulary. The group asked will prefix the login name. The password is just the reverse of the login, this give a coherent behaviour if it return twice the same credential. |
listCredentials(self, group=None)Return a list of 10 random credentials. |
listGroups(self)Retrun a list of 10 random group name. |
| Class Variable Details |
|---|
method_names
|
server_name
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Feb 27 10:41:43 2007 | http://epydoc.sf.net |