Class GrpcServerProperties.Ssl
java.lang.Object
org.springframework.boot.grpc.server.autoconfigure.GrpcServerProperties.Ssl
- Enclosing class:
GrpcServerProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine whether to enable SSL support.@Nullable Stringio.grpc.TlsServerCredentials.ClientAuth@Nullable BooleanbooleanisSecure()voidvoidsetClientAuth(io.grpc.TlsServerCredentials.ClientAuth clientAuth) voidsetEnabled(@Nullable Boolean enabled) voidsetSecure(boolean secure)
-
Constructor Details
-
Ssl
public Ssl()
-
-
Method Details
-
getEnabled
-
setEnabled
-
determineEnabled
public boolean determineEnabled()Determine whether to enable SSL support. When theenabledproperty is specified it determines enablement. Otherwise, the support is enabled if thebundleis provided.- Returns:
- whether to enable SSL support
-
getBundle
-
setBundle
-
setClientAuth
public void setClientAuth(io.grpc.TlsServerCredentials.ClientAuth clientAuth) -
getClientAuth
public io.grpc.TlsServerCredentials.ClientAuth getClientAuth() -
setSecure
public void setSecure(boolean secure) -
isSecure
public boolean isSecure()
-