x509

fun x509(x509Configuration: X509Dsl.() -> Unit)

Adds X509 based pre authentication to an application

Example:

@Configuration
@EnableWebSecurity
class SecurityConfig {

@Bean
fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
http {
x509 { }
}
return http.build()
}
}

Parameters

x509Configuration

custom configuration to apply to the X509 based pre authentication

See also