-
Annotation Types Annotation Type Description org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity UseEnableMethodSecurityinsteadorg.springframework.security.config.annotation.web.servlet.configuration.EnableWebMvcSecurity Use EnableWebSecurity instead which will automatically add the Spring MVC related Security items.