DelegatingAuthenticationEntryPoint.Builder is final

Make it final and a private constructor

Issue gh-17915
This commit is contained in:
Rob Winch 2025-09-16 10:05:40 -05:00
parent 9a3ae4b867
commit fdd2a91b68
No known key found for this signature in database

View File

@ -167,7 +167,7 @@ public class DelegatingAuthenticationEntryPoint implements AuthenticationEntryPo
* @author Rob Winch * @author Rob Winch
* @since 7.0 * @since 7.0
*/ */
public static class Builder { public static final class Builder {
private @Nullable AuthenticationEntryPoint defaultEntryPoint; private @Nullable AuthenticationEntryPoint defaultEntryPoint;
@ -223,6 +223,9 @@ public class DelegatingAuthenticationEntryPoint implements AuthenticationEntryPo
return new DelegatingAuthenticationEntryPoint(defaultEntryPoint, this.entryPoints); return new DelegatingAuthenticationEntryPoint(defaultEntryPoint, this.entryPoints);
} }
private Builder() {
}
} }
} }