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