Class MongoSslSettingsProvider
java.lang.Object
dev.getelements.elements.dao.mongo.provider.MongoSslSettingsProvider
- All Implemented Interfaces:
jakarta.inject.Provider<com.mongodb.connection.SslSettings>
public class MongoSslSettingsProvider
extends Object
implements jakarta.inject.Provider<com.mongodb.connection.SslSettings>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mongodb.connection.SslSettings
get()
void
setCaPassphrase
(String caPassphrase) void
void
setClientCertificatePassphrase
(String clientCertificatePassphrase) void
setClientCertificatePath
(String clientCertificatePath) void
setClientUri
(String clientUri) void
setKeyAlgorithm
(String keyAlgorithm) void
setKeyFormat
(String keyFormat) void
setSslProtocol
(String sslProtocol) void
setTrustAlgorithm
(String trustAlgorithm)
-
Field Details
-
FORMAT
- See Also:
-
TRUST_ALGORITHM
- See Also:
-
KEY_ALGORITHM
- See Also:
-
CA
- See Also:
-
CA_PASSPHRASE
- See Also:
-
CLIENT_CERTIFICATE
- See Also:
-
CLIENT_CERTIFICATE_PASSPHRASE
- See Also:
-
SSL_PROTOCOL
- See Also:
-
-
Constructor Details
-
MongoSslSettingsProvider
public MongoSslSettingsProvider()
-
-
Method Details
-
get
public com.mongodb.connection.SslSettings get()- Specified by:
get
in interfacejakarta.inject.Provider<com.mongodb.connection.SslSettings>
-
getSslProtocol
-
setSslProtocol
@Inject public void setSslProtocol(@Named("dev.getelements.elements.mongo.tls.protocol") String sslProtocol) -
getKeyAlgorithm
-
setKeyAlgorithm
@Inject public void setKeyAlgorithm(@Named("dev.getelements.elements.mongo.tls.key.algorithm") String keyAlgorithm) -
getKeyFormat
-
setKeyFormat
@Inject public void setKeyFormat(@Named("dev.getelements.elements.mongo.tls.format") String keyFormat) -
getCaPath
-
setCaPath
-
getCaPassphrase
-
setCaPassphrase
@Inject public void setCaPassphrase(@Named("dev.getelements.elements.mongo.tls.ca.passphrase") String caPassphrase) -
getClientCertificatePath
-
setClientCertificatePath
@Inject public void setClientCertificatePath(@Named("dev.getelements.elements.mongo.tls.client.certificate") String clientCertificatePath) -
getClientCertificatePassphrase
-
setClientCertificatePassphrase
@Inject public void setClientCertificatePassphrase(@Named("dev.getelements.elements.mongo.tls.client.certificate.passphrase") String clientCertificatePassphrase) -
getTrustAlgorithm
-
setTrustAlgorithm
@Inject public void setTrustAlgorithm(@Named("dev.getelements.elements.mongo.tls.trust.algorithm") String trustAlgorithm) -
getClientUri
-
setClientUri
-