fix login form, and allow a couple of parameters to be overridden in web.xml
[java-idp.git] / resources / webpages / login.jsp
index 531d6a8..e1095b6 100644 (file)
@@ -3,6 +3,12 @@
        <body>
        <img src="<%= request.getContextPath() %>/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