portMapper
Allows configuring a port mapper.
Example:
@Configuration
@EnableWebSecurity
class SecurityConfig {
@Bean
fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
http {
portMapper {
map(80, 443)
}
}
return http.build()
}
}Content copied to clipboard
Parameters
portMapperConfiguration
custom configurations to configure the port mapper