Similar to the reactive side, the HttpSecurity DSL should accept an AuthenticationManager.

The configuration would look like this:

http
    .authenticationManager(customAuthenticationManager)

This would serve the same purpose as WebSecurityConfigurerAdapter#configure(AuthenticationManagerBuilder).