mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-10-23 02:38:48 +00:00
DelegatingAuthenticationEntryPoint.Builder is final
Make it final and a private constructor Issue gh-17915
This commit is contained in:
parent
9a3ae4b867
commit
fdd2a91b68
@ -167,7 +167,7 @@ public class DelegatingAuthenticationEntryPoint implements AuthenticationEntryPo
|
||||
* @author Rob Winch
|
||||
* @since 7.0
|
||||
*/
|
||||
public static class Builder {
|
||||
public static final class Builder {
|
||||
|
||||
private @Nullable AuthenticationEntryPoint defaultEntryPoint;
|
||||
|
||||
@ -223,6 +223,9 @@ public class DelegatingAuthenticationEntryPoint implements AuthenticationEntryPo
|
||||
return new DelegatingAuthenticationEntryPoint(defaultEntryPoint, this.entryPoints);
|
||||
}
|
||||
|
||||
private Builder() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user