BAEL-3283 Corrected the indentation as per the review comments.
This commit is contained in:
parent
8c43c4e0a5
commit
369e1d2722
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>spring-mvc-views</artifactId>
|
<artifactId>spring-mvc-views</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<name>spring-mvc-themes</name>
|
<name>spring-mvc-views</name>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.baeldung</groupId>
|
<groupId>com.baeldung</groupId>
|
||||||
|
@ -33,8 +33,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
@Override
|
@Override
|
||||||
protected void configure(HttpSecurity http) throws Exception {
|
protected void configure(HttpSecurity http) throws Exception {
|
||||||
|
|
||||||
http
|
http.csrf()
|
||||||
.csrf()
|
|
||||||
.disable()
|
.disable()
|
||||||
.authorizeRequests()
|
.authorizeRequests()
|
||||||
.antMatchers("/anonymous*").anonymous()
|
.antMatchers("/anonymous*").anonymous()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user