Last change
on this file since 10325 was
10321,
checked in by uli, 12 years ago
|
Basic skeleton for WSGI-based CAS service.
|
File size:
332 bytes
|
Line | |
---|
1 | """A WSGI app for serving CAS. |
---|
2 | """ |
---|
3 | from webob import exc |
---|
4 | from webob.dec import wsgify |
---|
5 | |
---|
6 | |
---|
7 | class CASServer(object): |
---|
8 | """A WSGI CAS server. |
---|
9 | """ |
---|
10 | @wsgify |
---|
11 | def __call__(self, req): |
---|
12 | return exc.HTTPNotFound() |
---|
13 | |
---|
14 | |
---|
15 | cas_server = CASServer |
---|
16 | |
---|
17 | |
---|
18 | def make_cas_server(global_conf, **local_conf): |
---|
19 | return CASServer(**local_conf) |
---|
Note: See
TracBrowser for help on using the repository browser.