login form should work out of the box for UserPassword login handler. also displays...
[java-idp.git] / 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>
+       
+       <% if ("true".equals(request.getParameter("loginFailed"))) { %>
+       <p>Authentication Failed</p>
+       <% } %>
+       
+       <form action="Authn/UserPassword" method="post">
        <table>
                <tr>
                        <td>Username:</td>
@@ -13,8 +19,9 @@
                        <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>
+       </form>
        
 </html>
\ No newline at end of file