Address SIDP-167
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 17 Apr 2008 15:28:57 +0000 (15:28 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 17 Apr 2008 15:28:57 +0000 (15:28 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2727 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/main/webapp/login.jsp

index f478e5c..edd22ec 100644 (file)
@@ -1,31 +1,36 @@
 <html>
 
+    <head>
+        <title>Shibboleth Identity Provider - Login</title>
+    </head>
+
        <body>
-       <img src="<%= request.getContextPath() %>/images/logo.jpg" />
-       <h2>Shibboleth Identity Provider Login</h2>
-       
-       <% if ("true".equals(request.getParameter("loginFailed"))) { %>
-       <p>Authentication Failed</p>
-       <% } %>
-       
-       <% if(request.getParameter("actionUrl") != null){ %>
-           <form action="<%=request.getParameter("actionUrl")%>" method="post">
-       <% }else{ %>
-           <form action="j_security_check" method="post">
-       <% } %>
-       <table>
-               <tr>
-                       <td>Username:</td>
-                       <td><input name="j_username" type="text" tabindex="1" /></td>
-               </tr>
-               <tr>
-                       <td>Password:</td>
-                       <td><input name="j_password" type="password" tabindex="2" /></td>
-               </tr>
-               <tr>
-                       <td rowspan="2"><input type="submit" value="Login" tabindex="3" /></td>
-               </tr>
-       </table>
-       </form>
+               <img src="<%= request.getContextPath() %>/images/logo.jpg" />
+               <h2>Shibboleth Identity Provider Login</h2>
+               
+               <% if ("true".equals(request.getParameter("loginFailed"))) { %>
+               <p>Authentication Failed</p>
+               <% } %>
+               
+               <% if(request.getParameter("actionUrl") != null){ %>
+                   <form action="<%=request.getParameter("actionUrl")%>" method="post">
+               <% }else{ %>
+                   <form action="j_security_check" method="post">
+               <% } %>
+               <table>
+                       <tr>
+                               <td>Username:</td>
+                               <td><input name="j_username" type="text" tabindex="1" /></td>
+                       </tr>
+                       <tr>
+                               <td>Password:</td>
+                               <td><input name="j_password" type="password" tabindex="2" /></td>
+                       </tr>
+                       <tr>
+                               <td rowspan="2"><input type="submit" value="Login" tabindex="3" /></td>
+                       </tr>
+               </table>
+               </form>
+       </body>
        
 </html>
\ No newline at end of file