login form should work out of the box for UserPassword login handler. also displays...
authorwnorris <wnorris@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 24 Oct 2007 22:42:15 +0000 (22:42 +0000)
committerwnorris <wnorris@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 24 Oct 2007 22:42:15 +0000 (22:42 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2426 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/webpages/login.jsp

index 031f29a..755119d 100644 (file)
@@ -3,6 +3,12 @@
        <body>
        <img src="images/logo.jpg" />
        <h2>Shibboleth Identity Provider Login</h2>
        <body>
        <img src="images/logo.jpg" />
        <h2>Shibboleth Identity Provider Login</h2>
+       
+       <% if ("true".equals(request.getParameter("loginFailed"))) { %>
+       <p>Authentication Failed</p>
+       <% } %>
+       
+       <form action="Authn/UserPassword" method="post">
        <table>
                <tr>
                        <td>Username:</td>
        <table>
                <tr>
                        <td>Username:</td>
@@ -13,8 +19,9 @@
                        <td><input name="j_password" type="password" tabindex="2" /></td>
                </tr>
                <tr>
                        <td><input name="j_password" type="password" tabindex="2" /></td>
                </tr>
                <tr>
-                       <td rowspan="2"><button tabindex="3"/></td>
+                       <td rowspan="2"><input type="submit" value="Login" tabindex="3" /></td>
                </tr>
        </table>
                </tr>
        </table>
+       </form>
        
 </html>
\ No newline at end of file
        
 </html>
\ No newline at end of file