new jsp pages for session management

This commit is contained in:
eugenp 2013-08-11 15:30:47 +03:00
parent 5b2fd4d013
commit f9e560e1c1
3 changed files with 22 additions and 2 deletions

View File

@ -17,8 +17,8 @@
<remember-me key="uniqueAndSecret" token-validity-seconds="86400" />
<session-management>
<concurrency-control max-sessions="2" />
<session-management invalid-session-url="/invalidSession.html">
<concurrency-control max-sessions="2" expired-url="/sessionExpired.html" />
</session-management>
</http>

View File

@ -0,0 +1,10 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head></head>
<body>
<h1>Invalid Session Page</h1>
<a href="<c:url value="/login.html" />">To Login</a>
</body>
</html>

View File

@ -0,0 +1,10 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head></head>
<body>
<h1>Session Expired Page</h1>
<a href="<c:url value="/login.html" />">To Login</a>
</body>
</html>