Skip to content

Commit d3bbcc8

Browse files
author
eugenp
committed
security work
1 parent 1696627 commit d3bbcc8

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

spring-security-custom/src/main/resources/webSecurityConfig.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
88

99
<http use-expressions="true">
10-
<intercept-url pattern="/anonymous*" access="isAnonymous()" />
1110
<intercept-url pattern="/login*" access="permitAll" />
1211
<intercept-url pattern="/**" access="isAuthenticated()" />
1312

@@ -17,15 +16,7 @@
1716
</http>
1817

1918
<authentication-manager>
20-
<authentication-provider>
21-
<user-service>
22-
<user name="user1" password="user1Pass" authorities="ROLE_USER" />
23-
</user-service>
24-
</authentication-provider>
19+
<authentication-provider ref="customAuthenticationProvider" />
2520
</authentication-manager>
2621

27-
<!-- <authentication-manager> -->
28-
<!-- <authentication-provider ref="customAuthenticationProvider" /> -->
29-
<!-- </authentication-manager> -->
30-
3122
</beans:beans>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44

55
<body>
66
<h1>This is the body of the sample view</h1>
7-
<a href="<c:url value="/perform_logout" />">Logout</a>
87
</body>
98
</html>

0 commit comments

Comments
 (0)