just before adding authorization service.
[photos] / src / main / webapp / login.jsp
1 <%@ page language="java" pageEncoding="UTF-8" session="true"%>
2
3
4
5 <%
6     String path = request.getContextPath();
7     String basePath = request.getScheme() + "://" +
8         request.getServerName() + ":" + request.getServerPort() + path +
9         "/";
10 %>
11
12 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
13 <html>
14
15 <head>
16 <title wicket:id="title">Home Page</title>
17
18
19 <link rel="stylesheet" type="text/css"
20         href="resources/org.wamblee.photos.wicket.BasePage/photos.css" />
21 </head>
22
23 <body>
24
25         <div id="banner">
26                 <wicket:link>
27                         <img
28                                 src="resources/org.wamblee.photos.wicket.BasePage/wamblee_logo.png" />
29                 </wicket:link>
30                 <span class="title">wamblee photos</span>
31         </div>
32
33
34         Please login:
35         <form method="POST" action="j_security_check">
36                 <table>
37                         <tr>
38                                 <td>Username:</td>
39                                 <td><input type="text" name="j_username" />
40                                 </td>
41                         </tr>
42                         <tr>
43                                 <td>Password:</td>
44                                 <td><input type="password" name="j_password" autocomplete="off"/>
45                                 </td>
46                         </tr>
47                         <tr>
48                                 <td><input type="submit" value="Login" />
49                                 </td>
50                                 <td></td>
51                         </tr>
52                 </table>
53         </form>
54
55 </body>
56 </html>