diff options
author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-10-06 19:12:13 +0200 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-10-24 18:02:21 +0200 |
commit | f461a713ce28e434a34dca4e4d1abbfe255ef1ff (patch) | |
tree | 20e3167cfe3b28e8c7163e661fc757ffd8df228b /ipsilon/root.py | |
parent | c6fab2542f52f6cca71c207c1925785971e51295 (diff) | |
download | ipsilon.git-f461a713ce28e434a34dca4e4d1abbfe255ef1ff.tar.gz ipsilon.git-f461a713ce28e434a34dca4e4d1abbfe255ef1ff.tar.xz ipsilon.git-f461a713ce28e434a34dca4e4d1abbfe255ef1ff.zip |
Add OpenIDP Provider
This commit implements all the core functionality needed to expose
an OpenID Identity Provider including a framework to dynamycally add
extensions.
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/root.py')
-rwxr-xr-x | ipsilon/root.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ipsilon/root.py b/ipsilon/root.py index b2654ac..e214115 100755 --- a/ipsilon/root.py +++ b/ipsilon/root.py @@ -39,6 +39,7 @@ class Root(Page): if template_env: sites[site]['template_env'] = template_env super(Root, self).__init__(sites[site]) + self.html_heads = dict() # set up error pages cherrypy.config['error_page.400'] = errors.Error_400(self._site) @@ -60,4 +61,6 @@ class Root(Page): ProviderPlugins(self._site, self.admin) def root(self): - return self._template('index.html', title='Ipsilon') + self.debug(self.html_heads) + return self._template('index.html', title='Ipsilon', + heads=self.html_heads) |