SEC-2788: Add @Configuration as meta annotation to @Enable* annotations

This commit is contained in:
Rob Winch
2014-12-08 16:06:58 -06:00
parent 11116c2b80
commit 3171cc4364
99 changed files with 11 additions and 240 deletions

View File

@@ -56,7 +56,6 @@ public class CsrfConfigurerNoWebMvcTests {
}
@EnableWebSecurity
@Configuration
static class EnableWebConfig extends WebSecurityConfigurerAdapter {
@Override
@@ -65,7 +64,6 @@ public class CsrfConfigurerNoWebMvcTests {
}
@EnableWebMvcSecurity
@Configuration
static class EnableWebMvcConfig extends WebSecurityConfigurerAdapter {
@Override

View File

@@ -110,7 +110,6 @@ public class SessionManagementConfigurerServlet31Tests {
}
@EnableWebSecurity
@Configuration
static class SessionManagementDefaultSessionFixationServlet31Config extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {