spring-security
spring-security copied to clipboard
Align DelegatingAuthenticationConverter Constructors
This change is valuable since new ArrayList<>() and List.of have different behaviors, meaning that these two constructors give two different object states without saying so.
This PR aligns the two constructors.
Also, @kse-music, I updated the PR title and description to reflect some of the API benefits to this change.
Thanks a lot, @jzheaux. Everything is done as you expected.
Thanks, @kse-music! This is now merged into main.