summaryrefslogtreecommitdiffstats
path: root/lite-server.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2010-02-23 10:53:47 -0700
committerJason Gerard DeRose <jderose@redhat.com>2010-03-01 20:21:38 -0700
commit942919bef77030b10a96cab66ab878a8a3d7ef10 (patch)
treee4f7f3262d913729c80ddf057b4b06db4aec252c /lite-server.py
parent5220c949a446fcdc870708ea09ec1b444a715edd (diff)
downloadfreeipa-942919bef77030b10a96cab66ab878a8a3d7ef10.tar.gz
freeipa-942919bef77030b10a96cab66ab878a8a3d7ef10.tar.xz
freeipa-942919bef77030b10a96cab66ab878a8a3d7ef10.zip
Consolidate to single WSGI entry point
Diffstat (limited to 'lite-server.py')
-rwxr-xr-xlite-server.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lite-server.py b/lite-server.py
index 65fb555a..ba7cfe3d 100755
--- a/lite-server.py
+++ b/lite-server.py
@@ -86,13 +86,11 @@ if __name__ == '__main__':
urlmap = URLMap()
apps = [
- ('XML RPC', api.Backend.xmlserver),
- ('JSON RPC', api.Backend.jsonserver),
+ ('IPA', KRBCheater(api.Backend.session)),
('Assets', AssetsApp(ui.assets)),
- ('Web UI', ui),
]
for (name, app) in apps:
- urlmap[app.url] = KRBCheater(app)
+ urlmap[app.url] = app
api.log.info('Mounting %s at %s', name, app.url)
if path.isfile(api.env.lite_pem):