anchor.diff:  
   Similar to configuring login capabilities, however, you also have various options to further customize your logout requirements:
   
  -[source,java]
  +.Logout Configuration
  +====
  +.Java
  +[source,java,role="primary"]
   ----
   protected void configure(HttpSecurity http) throws Exception {
       http
  
positive.code:         ...
  }
  ----
  
  <1> Provides logout support.
  This is automatically applied when using `WebSecurityConfigurerAdapter`.
  
negative.code: == Handling Logouts
  
  [[logout-java-configuration]]
  === Logout Java/Kotlin Configuration
  
  When using the `{security-api-url}org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.html[WebSecurityConfigurerAdapter]`, logout capabilities are automatically applied.
  The default is that accessing the URL `/logout` will log the user out by:
  