anchor.diff:  	}
   }
   ----
  +
  +.Kotlin
  +[source,kotlin,role="secondary"]
  +----
  +@EnableWebSecurity
  +class SecurityConfig : WebSecurityConfigurerAdapter() {
  +
  +    override fun configure(http: HttpSecurity) {
  +       http {
  +            logout {
  +                logoutRequestMatcher = AntPathRequestMatcher("/logout")
  +            }
  +        }
  +    }
  +}
  +----
   ====
   
   
  
positive.code: 	protected void beforeSpringSecurityFilterChain(ServletContext servletContext) {
  		insertFilters(servletContext, new MultipartFilter());
  	}
  }
  ----
  ====
  
negative.code: 	}
  }
  ----
  
  .Kotlin
  [source,kotlin,role="secondary"]
  ----
  @EnableWebSecurity
  class SecurityConfig : WebSecurityConfigurerAdapter() {
  
      override fun configure(http: HttpSecurity) {
         http {
              csrf {
                  csrfTokenRepository = CookieCsrfTokenRepository.withHttpOnlyFalse()
              }
          }
      }
  }
  ----
  ====
  
  [NOTE]
  