Skip to content

Commit fdd2a91

Browse files
committed
DelegatingAuthenticationEntryPoint.Builder is final
Make it final and a private constructor Issue spring-projectsgh-17915
1 parent 9a3ae4b commit fdd2a91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/src/main/java/org/springframework/security/web/authentication/DelegatingAuthenticationEntryPoint.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public static Builder builder() {
167167
* @author Rob Winch
168168
* @since 7.0
169169
*/
170-
public static class Builder {
170+
public static final class Builder {
171171

172172
private @Nullable AuthenticationEntryPoint defaultEntryPoint;
173173

@@ -223,6 +223,9 @@ public AuthenticationEntryPoint build() {
223223
return new DelegatingAuthenticationEntryPoint(defaultEntryPoint, this.entryPoints);
224224
}
225225

226+
private Builder() {
227+
}
228+
226229
}
227230

228231
}

0 commit comments

Comments
 (0)