anchor.diff:  
   	@Override
   	protected void configure(HttpSecurity http) throws Exception {
  -		http.authorizeRequests().antMatchers("/.~~spring-boot!~/restart").anonymous()
  -			.and().csrf().ignoringAntMatchers("/.~~spring-boot!~/restart")
  -			.and().authorizeRequests().anyRequest().authenticated()
  -			.and().httpBasic();
  +		http.requestMatchers("/.~~spring-boot!~/restart").anyRequest().anonymous()
  +			.and().csrf().disable();
   	}
   
   }
   ----
  +
  +NOTE: The above configuration will only affect the remote devtools endpoint. Spring Boot's default
  +security auto-configuration will still apply to the rest of the application. If the rest
  +of the application requires custom security, it needs to be configured separately.
   
   
   
  
positive.code: ----
  
  The URL for class uploading should be exempted both from the web security and from the
  csrf filter. Here’s an example `WebSecurityConfigurerAdapter` configuration that uses
  HTTP Basic Auth to secure all URLs except the default one used by devtools for class
  uploading:
  
  [source,java,indent=0]
  ----
  
negative.code: ==== Configuring File System Watcher
  {sc-spring-boot-devtools}/filewatch/FileSystemWatcher.{sc-ext}[FileSystemWatcher] works
  by polling the class changes with a certain time interval, and then waiting for a
  predefined quiet period to make sure there are no more changes. The changes are then
  uploaded to the remote application. On a slower development environment, it may happen
  that the quiet period is not enough, and the changes in the classes may be split into batches.
  The server is restarted after the first batch of class changes is uploaded.
  The next batch can’t be sent to the application, since the server is restarting.
  
  This is typically manifested by a warning in the `RemoteSpringApplication` logs about
  failing to upload some of the classes, and a consequent retry. But it may also lead to
  application code inconsistency and failure to restart after the first batch of changes is
  uploaded.
  
  