SEC-2788: Add @Configuration as meta annotation to @Enable* annotations
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -110,7 +110,6 @@ public class SessionManagementConfigurerServlet31Tests {
|
||||
}
|
||||
|
||||
@EnableWebSecurity
|
||||
@Configuration
|
||||
static class SessionManagementDefaultSessionFixationServlet31Config extends WebSecurityConfigurerAdapter {
|
||||
@Override
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user