Skip to content

Commit dc2323f

Browse files
author
eugenp
committed
standard login and logout
1 parent 495a135 commit dc2323f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spring-security-mvc-custom/src/main/webapp/WEB-INF/view/console.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<br/>
1717
</security:authorize>
1818

19-
<a href="<c:url value="/perform_logout" />">Logout</a>
19+
<a href="<c:url value="/j_spring_security_logout" />">Logout</a>
2020

2121
</body>
2222
</html>

spring-security-mvc-custom/src/main/webapp/WEB-INF/view/homepage.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<br />
1717
</security:authorize>
1818

19-
<a href="<c:url value="/perform_logout" />">Logout</a>
19+
<a href="<c:url value="/j_spring_security_logout" />">Logout</a>
2020

2121
</body>
2222
</html>

spring-security-mvc-custom/src/main/webapp/WEB-INF/view/login.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<body>
55
<h1>Login</h1>
66

7-
<form name='f' action="perform_login" method='POST'>
7+
<form name='f' action="j_spring_security_check" method='POST'>
88

99
<table>
1010
<tr>

0 commit comments

Comments
 (0)