1
0
mirror of synced 2026-08-05 17:57:15 +00:00

SEC-2436: Add @EnableWebMvcSecurity

This commit is contained in:
Rob Winch
2013-12-14 14:39:52 -06:00
parent 053c890a69
commit b7041ed00e
17 changed files with 82 additions and 66 deletions
@@ -3,11 +3,11 @@ package org.springframework.security.samples.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.config.annotation.web.servlet.configuration.EnableWebMvcSecurity;
@Configuration
@EnableWebSecurity
@EnableWebMvcSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Autowired