File tree Expand file tree Collapse file tree
webapp/WEB-INF/jsp/fragments Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717 <beans : bean name =" noopEncoder" class =" org.springframework.security.crypto.password.NoOpPasswordEncoder" />
1818
19+ <http >
20+ <intercept-url pattern =" /admin/**" access =" hasRole('ADMIN')" />
21+ <intercept-url pattern =" /**" access =" isAuthenticated()" />
22+ <form-login />
23+ <logout />
24+ <csrf disabled =" true" />
25+ </http >
26+
1927 <authentication-manager >
2028 <authentication-provider >
2129 <password-encoder ref =" noopEncoder" />
Original file line number Diff line number Diff line change 66 <a href =" meals" class =" navbar-brand" ><img src =" resources/images/icon-meal.png" > <spring:message code =" app.title" /></a >
77 <form class =" form-inline my-2" >
88 <a class =" btn btn-info mr-1" href =" users" ><spring:message code =" user.title" /></a >
9- <a class =" btn btn-primary" href =" " >
10- <span class =" fa fa-sign-in " ></span >
9+ <a class =" btn btn-primary" href =" logout " >
10+ <span class =" fa fa-sign-out " ></span >
1111 </a >
1212 </form >
1313 </div >
You can’t perform that action at this time.
0 commit comments