Package twisted :: Package spread :: Module newjelly :: Class DummySecurityOptions

[frames | no frames]

## Class DummySecurityOptions

DummySecurityOptions() -> insecure security options Dummy security options -- this class will allow anything.

Method Summary
| ``isClassAllowed`(self, klass)` DummySecurityOptions.isClassAllowed(class) -> boolean Assumes the module has already been allowed.
| ``isModuleAllowed`(self, moduleName)` DummySecurityOptions.isModuleAllowed(moduleName) -> boolean returns 1 if a module by that name is allowed, 0 otherwise
| ``isTypeAllowed`(self, typeName)` DummySecurityOptions.isTypeAllowed(typeName) -> boolean Returns 1 if the given type is allowed, 0 otherwise.

Method Details

### isClassAllowed(self, klass)

DummySecurityOptions.isClassAllowed(class) -> boolean Assumes the module has already been allowed. Returns 1 if the given class is allowed, 0 otherwise.

### isModuleAllowed(self, moduleName)

DummySecurityOptions.isModuleAllowed(moduleName) -> boolean returns 1 if a module by that name is allowed, 0 otherwise

### isTypeAllowed(self, typeName)

DummySecurityOptions.isTypeAllowed(typeName) -> boolean Returns 1 if the given type is allowed, 0 otherwise.

Generated by Epydoc 2.0 on Sat May 15 20:08:03 2004 | http://epydoc.sf.net