source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/templates/ndg/security/login.kid @ 3918

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/templates/ndg/security/login.kid@3918
Revision 3918, 1.3 KB checked in by pjkersha, 12 years ago (diff)

Initial Integration of Single Sign On Service with OpenID and Pylons AuthKit?:

  • WAYF now contains an OpenID textbox for sign in
  • No role integration carried out yet - OpenID has no better privileges than an anonymous user(!)
  • Integrated into Authkit - requires lots of config settings in pylons ini file
  • HTTP 401 error get redirected automatically to WAYF
  • Need to create an AuthKit? egg from SVN 151 checkout - will put on NDG dist
Line 
1<html py:extends="'ndgPage.kid'" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">
2   
3    <div py:def="loginForm()" class="loginForm">
4        <form action="$g.ndg.security.server.sso.cfg.getCredentials" method="POST">
5            <!--
6            <input type="hidden" name="r" value="${g.ndg.security.common.sso.b64encReturnToURL}"/>
7            -->
8            <table cellspacing="0" border="0" cellpadding="5">
9                <tr>
10                    <td>Username:</td>
11                    <td><input type="text" name="username" value=""/></td>
12                </tr><tr>
13                    <td>Pass-phrase:</td>
14                    <td><input type="password" name="passphrase"/></td>
15                </tr><tr>
16                    <td colspan="2" align="right">
17                    <input type="submit" value="Login"/></td>
18                </tr>
19            </table>
20        </form>
21    </div>
22   
23    <head>
24    <replace py:replace="pagehead()"/>
25    </head>
26    <body>
27        <div py:replace="header()"/>
28        <div class="loginContent" style="text-indent:5px">       
29            <h4>Login</h4>
30            <div py:replace="loginForm()"/>
31            <p>${c.xml}</p>
32        </div>
33        <div py:replace="footer(showLoginStatus=False)"/>
34    </body>
35
36</html>
Note: See TracBrowser for help on using the repository browser.