source: main/waeup.cas/trunk/waeup/cas/server.py @ 10321

Last change on this file since 10321 was 10321, checked in by uli, 11 years ago

Basic skeleton for WSGI-based CAS service.

File size: 332 bytes
Line 
1"""A WSGI app for serving CAS.
2"""
3from webob import exc
4from webob.dec import wsgify
5
6
7class CASServer(object):
8    """A WSGI CAS server.
9    """
10    @wsgify
11    def __call__(self, req):
12        return exc.HTTPNotFound()
13
14
15cas_server = CASServer
16
17
18def make_cas_server(global_conf, **local_conf):
19    return CASServer(**local_conf)
Note: See TracBrowser for help on using the repository browser.