Browse Source

Merge remote-tracking branch 'origin/6.3.x'

pull/15997/head
Josh Cummings 1 year ago
parent
commit
6dbbe89b83
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
  1. 3
      web/src/main/java/org/springframework/security/web/authentication/DelegatingAuthenticationConverter.java

3
web/src/main/java/org/springframework/security/web/authentication/DelegatingAuthenticationConverter.java

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
package org.springframework.security.web.authentication;
import java.util.ArrayList;
import java.util.List;
import jakarta.servlet.http.HttpServletRequest;
@ -38,7 +37,7 @@ public final class DelegatingAuthenticationConverter implements AuthenticationCo @@ -38,7 +37,7 @@ public final class DelegatingAuthenticationConverter implements AuthenticationCo
public DelegatingAuthenticationConverter(List<AuthenticationConverter> delegates) {
Assert.notEmpty(delegates, "delegates cannot be null");
this.delegates = new ArrayList<>(delegates);
this.delegates = List.copyOf(delegates);
}
public DelegatingAuthenticationConverter(AuthenticationConverter... delegates) {

Loading…
Cancel
Save