new jsp pages for session management
This commit is contained in:
parent
5b2fd4d013
commit
f9e560e1c1
|
@ -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>
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
Loading…
Reference in New Issue