hello.jsp 999 B

123456789101112131415161718192021222324
  1. <%@ include file="/WEB-INF/jsp/include.jsp" %>
  2. <html>
  3. <head><title>Contacts Security Demo</title></head>
  4. <body>
  5. <h1>Contacts Security Demo</h1>
  6. <p>This is a very simple application to demonstrate the Acegi Security System for Spring.
  7. The application manages contacts, partitioned based on the user that owns them.
  8. Users may only manage their own contacts, and only users with ROLE_SUPERVISOR
  9. are allowed to delete their contacts. The application automatically extracts
  10. the principal from the web container (which should be configured with a
  11. suitable Acegi Security System for Spring adapter). It also demonstrates how to configure
  12. server-side secure objects so they can only be accessed via a public facade.
  13. <P>This application also demonstrates a public method, which is used to select
  14. the random contact that is shown below:
  15. <P>
  16. <code>
  17. <c:out value="${contact}"/>
  18. </code>
  19. <p>
  20. <p><A HREF="secure/index.htm">Manage</a> <A HREF="secure/debug.jsp">Debug</a>
  21. </body>
  22. </html>