2
0

index.jsp 456 B

123456789101112131415161718
  1. <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
  2. <html>
  3. <body>
  4. <h1>Home Page</h1>
  5. <p>
  6. Anyone can view this page.
  7. </p>
  8. <p>
  9. If you're logged in, you can <a href="listAccounts.html">list accounts</a>.
  10. </p>
  11. <p>
  12. Your principal object is....: <%= request.getUserPrincipal() %>
  13. </p>
  14. <p><a href="secure/index.jsp">Secure page</a></p>
  15. <p><a href="secure/extreme/index.jsp">Extremely secure page</a></p>
  16. </body>
  17. </html>