1
0
mirror of synced 2026-08-05 17:57:15 +00:00

Add namespace support for Servlet API integration.

This commit is contained in:
Ben Alex
2007-12-04 12:23:41 +00:00
parent a205f95c19
commit 85085abf9e
11 changed files with 86 additions and 46 deletions
@@ -23,8 +23,9 @@
<http-basic />
<logout />
<remember-me />
<servlet-api-integration/>
-->
<concurrent-session-control maxSessions="1" exceptionIfMaximumExceeded="true"/>
</http>
+3 -1
View File
@@ -1,7 +1,9 @@
<html>
<body>
<h1>Home Page</h1>
Anyone can view this page.
Anyone can view this page.<br><br>
Your principal object is....: <%= request.getUserPrincipal() %><br><br>
<p><a href="secure/index.jsp">Secure page</a>
<p><a href="secure/extreme/index.jsp">Extremely secure page</a>
@@ -2,7 +2,12 @@
<body>
<h1>Secure Page</h1>
This is a protected page. You can get to me if you've been remembered,
or if you've authenticated this session.
or if you've authenticated this session.<br><br>
<%if (request.isUserInRole("ROLE_SUPERVISOR")) { %>
You are a supervisor! You can therefore see the <a href="extreme/index.jsp">extremely secure page</a>.<br><br>
<% } %>
<p><a href="../">Home</a>
<p><a href="../j_spring_security_logout">Logout</a>