logout
Provides logout support.
Example:
@Configuration
@EnableWebSecurity
class SecurityConfig {
@Bean
fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
http {
logout {
logoutUrl = "/log-out"
}
}
return http.build()
}
}Content copied to clipboard
Parameters
logoutConfiguration
custom configuration to apply to logout