File tree Expand file tree Collapse file tree
spring-security-custom/src/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments