x509

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

Adds X509 based pre authentication to an application using a certificate provided by a client.

Example:

@Configuration
@EnableWebFluxSecurity
class SecurityConfig {

@Bean
fun springWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
return http {
x509 { }
}
}
}

Parameters

x509Configuration

custom configuration to apply to the X509 based pre authentication

See also