Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package gadfly :: Module server :: Class Policy |
|
security policy
Method Summary | |
---|---|
create a policy (name, password, connection) name is the name of the policy password is the access policy (None for no password) connection is the database connection. | |
__setitem__(self,
name,
value)
| |
perform a database/server action after checking certificate... | |
certify(self,
datastring,
certificate,
password)
| |
execute a statement in a cursor... | |
execute any statement. | |
execute a named (prepared) sql statement... | |
policy_CHECKPOINT(self,
socket)
| |
policy_EXECUTE_PREPARED(self,
name,
dyn,
socket)
| |
policy_EXECUTE_STATEMENT(self,
stat,
dyn,
socket)
| |
policy_RESTART(self,
socket)
| |
policy_SHUTDOWN(self,
socket)
| |
reply_exception(self,
exc,
info,
socket)
| |
reply_success(self,
data,
socket)
|
Class Variable Summary | |
---|---|
int |
general_queries = 0 |
NoneType |
named_accesses = None |
NoneType |
prepared_cursors = None |
int |
verbose = 0 |
Method Details |
---|
__init__(self,
name,
password,
connection,
queries=0)
|
action(self, certificate, datastring, socket)perform a database/server action after checking certificate |
execute(self, cursor, statement, params=None)execute a statement in a cursor |
execute_any_statement(self, statement, params=None)execute any statement. |
execute_named(self, name, params=None)execute a named (prepared) sql statement |
Class Variable Details |
---|
general_queries
|
named_accesses
|
prepared_cursors
|
verbose
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:05 2003 | http://epydoc.sf.net |