anchor.diff:  import org.springframework.security.config.annotation.web.configuration.*;
   
   @EnableWebSecurity
  -public class SecurityConfig extends WebSecurityConfigurerAdapter {
  +public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
   
   	@Autowired
   	public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
  
positive.code: 
  ==== AbstractSecurityWebApplicationInitializer without Existing Spring
  
  If you are not using Spring or Spring MVC, you will need to pass in the `SecurityConfig` into the superclass to ensure the configuration is picked up. You can find an example below:
  
  [source,java]
  ----
  
negative.code: }
  ----
  
  This would simply only register the springSecurityFilterChain Filter for every URL in your application. After that we would ensure that `WebSecurityConfig` was loaded in our existing ApplicationInitializer. For example, if we were using Spring MVC it would be added in the `getRootConfigClasses()`
  
  [[message-web-application-inititializer-java]]
  [source,java]
  