univention.admin.rest.server package
univention.admin.rest.server package¶
- class univention.admin.rest.server.Gateway(application, request, **kwargs)[source]¶
Bases:
tornado.web.RequestHandler
A server which acts as proxy to multiple processes in different languages
TODO: Implement authentication via PAM TODO: Implement ACL handling (restriction on certain paths for certain users/groups) TODO: Implement a SAML service provider TODO: Implement management of modules
- child_id = None¶
- PROCESSES = {}¶
- SOCKETS = {}¶
- set_default_headers()[source]¶
Override this to set HTTP headers at the beginning of the request.
For example, this is the place to set a custom
Server
header. Note that setting such headers in the normal flow of request processing may not do what you want, since headers may be reset during error handling.