First part of mavenizing IdP
[java-idp.git] / src / main / webapp / login.jsp
1 <html>
2
3         <body>
4         <img src="<%= request.getContextPath() %>/images/logo.jpg" />
5         <h2>Shibboleth Identity Provider Login</h2>
6         
7         <% if ("true".equals(request.getParameter("loginFailed"))) { %>
8         <p>Authentication Failed</p>
9         <% } %>
10         
11         <% if(request.getParameter("actionUrl") != null){ %>
12             <form action="<%=request.getParameter("actionUrl")%>" method="post">
13         <% }else{ %>
14             <form action="j_security_check" method="post">
15         <% } %>
16         <table>
17                 <tr>
18                         <td>Username:</td>
19                         <td><input name="j_username" type="text" tabindex="1" /></td>
20                 </tr>
21                 <tr>
22                         <td>Password:</td>
23                         <td><input name="j_password" type="password" tabindex="2" /></td>
24                 </tr>
25                 <tr>
26                         <td rowspan="2"><input type="submit" value="Login" tabindex="3" /></td>
27                 </tr>
28         </table>
29         </form>
30         
31 </html>