package com.mpalourdio.html5.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.builders.WebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.web.csrf.CookieCsrfTokenRepository;

@Configuration
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

    @Override
    public void configure(WebSecurity web) throws Exception {
        super.configure(web);
    }

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.csrf().csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse());
    }
}


@@ -177,88 +177,8 @@
 ty;%0A
-import org.springframework.security.config.annotation.web.builders.WebSecurity;%0A
 impo
@@ -438,121 +438,8 @@
  %7B%0A%0A
-    @Override%0A    public void configure(WebSecurity web) throws Exception %7B%0A        super.configure(web);%0A    %7D%0A%0A
     

Remove configure(WebSecurity web)