What is the difference between @EnableWebSecurity and @EnableWebMvcSecurity?

As of Spring Security 4.0, @EnableWebMvcSecurity is deprecated. The replacement is
@EnableWebSecurity which will determine adding the Spring MVC features
based upon the classpath.

To enable Spring Security integration with Spring MVC add the
@EnableWebSecurity annotation to your configuration.

source

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)