summaryrefslogtreecommitdiffstats
path: root/authentic/admin/settings.ptl
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-06-09 19:56:13 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-06-09 19:56:13 (GMT)
commit2e761ae38af825d59c8e8b02fafc6a3cc9dcefdd (patch)
tree7594d586d3f10d80edf3bac7bdd7010d98f86753 /authentic/admin/settings.ptl
parent3b3ac162c79e952fd63fbed036bb17c44685a45e (diff)
downloadauthentic-old-2e761ae38af825d59c8e8b02fafc6a3cc9dcefdd.zip
authentic-old-2e761ae38af825d59c8e8b02fafc6a3cc9dcefdd.tar.gz
authentic-old-2e761ae38af825d59c8e8b02fafc6a3cc9dcefdd.tar.bz2
Plug CAS setting page
Diffstat (limited to 'authentic/admin/settings.ptl')
-rw-r--r--authentic/admin/settings.ptl16
1 files changed, 16 insertions, 0 deletions
diff --git a/authentic/admin/settings.ptl b/authentic/admin/settings.ptl
index 89e1e60..27dc48d 100644
--- a/authentic/admin/settings.ptl
+++ b/authentic/admin/settings.ptl
@@ -752,6 +752,8 @@ class SettingsDirectory(schemagui.SettingDirectory):
_('Passwords'), _('Configure all password things'))
'<dt><a href="ssl">%s</a></dt> <dd>%s</dd>' % (
_('SSL'), _('Configure all SSL things'))
+ '<dt><a href="cas">%s</a></dt> <dd>%s</dd>' % (
+ _('CAS'), _('Configure CAS server'))
'</dl>'
'<h2>%s</h2>' % _('Customisation')
@@ -780,6 +782,20 @@ class SettingsDirectory(schemagui.SettingDirectory):
_('Debug Options'), _('...'))
'</dl>'
+ def cas [html] (self):
+ schemagui.SettingDirectory.__getattr__(self, str('cas'))()
+
+ if self.get_configuration('cas').get('enable'):
+ '<p>Server endpoints are :'
+ '<ul>'
+ '<li> /cas/login </li>'
+ '<li> /cas/logout </li>'
+ '<li> /cas/validate </li>'
+ '<li> /cas/proxy </li>'
+ '<li> /cas/serviceValidate </li>'
+ '<li> /cas/proxyValidate </li>'
+ '</ul>'
+ '</p>'
# keep old name for this configuration panel
def identity_options(self):