Package Products :: Package ZenHub :: Module zenhub :: Class AuthXmlRpcService |
[hide private]
[frames] | no frames]

# Class AuthXmlRpcService

source code

    twisted.web.resource.Resource --+
                                    |
            twisted.web.xmlrpc.XMLRPC --+
                                        |
              XmlRpcService.XmlRpcService --+
                                            |
                                           AuthXmlRpcService

Provide some level of authentication for XML/RPC calls

Nested Classes | [hide private]
Inherited from `twisted.web.resource.Resource`: `entityType`

Instance Methods | [hide private]
__init__(self, dmd, checker) | source code
doRender(self, unused, request) Call the inherited render engine after authentication succeeds. | source code
unauthorized(self, request) Render an XMLRPC error indicating an authentication failure. | source code
render(self, request) Unpack the authorization header and check the credentials. | source code
Inherited from `XmlRpcService.XmlRpcService`: `xmlrpc_applyDataMap`, `xmlrpc_getConfigs`, `xmlrpc_getDevicePingIssues`, `xmlrpc_getDeviceWinInfo`, `xmlrpc_getPerformanceConfig`, `xmlrpc_getWinServices`, `xmlrpc_getWmiConnIssues`, `xmlrpc_sendEvent`, `xmlrpc_sendEvents`, `xmlrpc_writeRRD` Inherited from `twisted.web.xmlrpc.XMLRPC`: `getSubHandler`, `getSubHandlerPrefixes`, `putSubHandler`, `render_POST` Inherited from `twisted.web.xmlrpc.XMLRPC` (private): `_cbRender`, `_ebRender`, `_getFunction`, `_listFunctions` Inherited from `twisted.web.resource.Resource`: `delEntity`, `getChild`, `getChildForRequest`, `getChildWithDefault`, `getDynamicEntity`, `getStaticEntity`, `listDynamicEntities`, `listDynamicNames`, `listEntities`, `listNames`, `listStaticEntities`, `listStaticNames`, `putChild`, `reallyPutEntity`, `render_HEAD`

Class Variables | [hide private]
Inherited from `XmlRpcService.XmlRpcService`: `PRIMITIVES` Inherited from `twisted.web.xmlrpc.XMLRPC`: `FAILURE`, `NOT_FOUND`, `allowedMethods`, `isLeaf`, `separator` Inherited from `twisted.web.resource.Resource`: `server`

Method Details | [hide private]

### __init__(self, dmd, checker) (Constructor) | source code
Overrides: XmlRpcService.XmlRpcService.__init__

### doRender(self, unused, request) | source code
Call the inherited render engine after authentication succeeds. See @XmlRpcService.XmlRpcService.Render.

### unauthorized(self, request) | source code
Render an XMLRPC error indicating an authentication failure. Parameters: `request` (HTTPRequest) - the request for this xmlrpc call. Returns: None

### render(self, request) | source code
Unpack the authorization header and check the credentials. Parameters: `request` (HTTPRequest) - the request for this xmlrpc call. Returns: NOT_DONE_YET Overrides: twisted.web.resource.Resource.render