You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To keep things simple I'd say we should hold off on httpBasic(HttpBasicConfigurer::disable) since users will be able to do httpBasic(httpBasicConfig -> httpBasicConfig.disable()).
@rwinch I believe those are equivalent (assuming that we continue to use the HttpBasicConfigurer). The IDE will actually prompt you to replace the lambda with the method reference.
Support nested builder
Currently HTTP basic authentication can be configured in the following way.
We should allow configuration using a nested builder, as follows.
The remaining methods should also be available in the nested builder,
authenticationEntryPoint
,authenticationDetailsSource
.Remove need for
and()
Any subsequent configurations to HttpSecurity will not need to be chained using
and()
.Nest
disable()
HTTP basic authentication should be disabled using a nested builder as well
note:
HttpBasicConfigurer
may not be the appropriate class name.The text was updated successfully, but these errors were encountered: