mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 14:22:47 +00:00
Remove TheController from Bean
It is already picked up with classpath scanning Issue gh-4080
This commit is contained in:
parent
5e35e37a2b
commit
8a7ac398e6
@ -228,11 +228,6 @@ public class SecurityMockMvcRequestPostProcessorsCsrfTests {
|
|||||||
protected void configure(HttpSecurity http) throws Exception {
|
protected void configure(HttpSecurity http) throws Exception {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
|
||||||
public TheController controller() {
|
|
||||||
return new TheController();
|
|
||||||
}
|
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
static class TheController {
|
static class TheController {
|
||||||
@RequestMapping("/")
|
@RequestMapping("/")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user