From 182fbe30945a8de005f00b460968dca7973342fb Mon Sep 17 00:00:00 2001 From: rcritten Date: Mon, 10 Sep 2007 16:33:01 -0400 Subject: Enable mod_proxy to sit in front of TurboGears and pass along the kerberos principal name Add an identity an visit class to TurboGears that can handle the user without requiring a database Update the UI to show the user correctly. Note that this is currently disabled. It is hardcoded to always return the principal test@FREEIPA.ORG in proxyprovider.py It doesn't handle an unauthorized request because that can never happen. --- ipa-server/ipa-gui/setup.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ipa-server/ipa-gui/setup.py') diff --git a/ipa-server/ipa-gui/setup.py b/ipa-server/ipa-gui/setup.py index 371325f6..12381799 100644 --- a/ipa-server/ipa-gui/setup.py +++ b/ipa-server/ipa-gui/setup.py @@ -58,5 +58,11 @@ setup( # 'Framework :: TurboGears :: Widgets', ], test_suite = 'nose.collector', + entry_points = """ + [turbogears.identity.provider] + proxyprovider = ipagui.proxyprovider:ProxyIdentityProvider + [turbogears.visit.manager] + proxyvisit = ipagui.proxyvisit:ProxyVisitManager + """, ) -- cgit