Class MtlsConfig
java.lang.Object
com.linecorp.centraldogma.server.auth.MtlsConfig
A mutual TLS (mTLS) configuration for the Central Dogma server.
-
Constructor Summary
ConstructorsConstructorDescriptionMtlsConfig(@Nullable Boolean enabled, @Nullable List<File> caCertificateFiles) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of CA certificate files.Returns the list of CA certificates loaded from the configured certificate files.static MtlsConfigdisabled()Returns a disabled mTLS configuration.booleanenabled()Returns whether mTLS is enabled.toString()
-
Constructor Details
-
MtlsConfig
-
-
Method Details
-
disabled
Returns a disabled mTLS configuration. -
enabled
public boolean enabled()Returns whether mTLS is enabled. -
caCertificateFiles
-
caCertificates
Returns the list of CA certificates loaded from the configured certificate files. -
toString
-