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" />
|
<remember-me key="uniqueAndSecret" token-validity-seconds="86400" />
|
||||||
|
|
||||||
<session-management>
|
<session-management invalid-session-url="/invalidSession.html">
|
||||||
<concurrency-control max-sessions="2" />
|
<concurrency-control max-sessions="2" expired-url="/sessionExpired.html" />
|
||||||
</session-management>
|
</session-management>
|
||||||
|
|
||||||
</http>
|
</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