We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 108f284 commit 33000b6Copy full SHA for 33000b6
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/Ssl.java
@@ -28,7 +28,7 @@ public class Ssl {
28
29
private boolean enabled = true;
30
31
- private ClientAuth clientAuth = ClientAuth.NONE;
+ private ClientAuth clientAuth;
32
33
private String[] ciphers;
34
@@ -78,12 +78,7 @@ public ClientAuth getClientAuth() {
78
}
79
80
public void setClientAuth(ClientAuth clientAuth) {
81
- if (clientAuth == null) {
82
- this.clientAuth = ClientAuth.NONE;
83
- }
84
- else {
85
- this.clientAuth = clientAuth;
86
+ this.clientAuth = clientAuth;
87
88
89
/**
0 commit comments