Expected Behavior

In the HttpSecurityDsl, formLogin should contain a disable() method.

formLogin {
    disable()
}

should work like

csrf {
    disable()
}

Current Behavior

There is no disable() method on the formLogin dsl

Context

Screen Shot 2023-01-17 at 12 28 03 PM

Any configurable object that extends from AbstractHttpConfigurer and therefore has a disable() method should be callable from the kotlin security dsl.

Comment From: jzheaux

Thanks, @Sineaggi. This makes sense, are you able to provide a PR to add the missing method?

Comment From: Sineaggi

Thanks, @Sineaggi. This makes sense, are you able to provide a PR to add the missing method?

Created a pr here https://github.com/spring-projects/spring-security/pull/12554