Modify Spring Security Config at Runtime
问题 I am using the latest Spring Boot + Spring Boot Starter Security for a simple proxy application. The goal is to launch the application with a single route/method: @RequestMapping(value = "/api/register", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) @Timed public ResponseEntity<?> register(Registration registration) { With a security configuration of: @Override protected void configure(HttpSecurity http) throws Exception { this.http = http .authorizeRequests()