diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-12-03 15:19:56 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-12-05 16:35:35 +0100 |
commit | caff08abecd3414fbb46bb002c22c36e1dede893 (patch) | |
tree | 08c9a8c08434294bc413f418f76c0df796fbc6ed /jrt | |
parent | eef87496cbdd79a32367c07311eb7867c9ae2e89 (diff) |
Split ConfigFileManagedTlsContext into ReloadingTlsContext and DefaultTlsContext
Diffstat (limited to 'jrt')
-rw-r--r-- | jrt/src/com/yahoo/jrt/CryptoEngine.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jrt/src/com/yahoo/jrt/CryptoEngine.java b/jrt/src/com/yahoo/jrt/CryptoEngine.java index e620c8cbd34..373cc4950c9 100644 --- a/jrt/src/com/yahoo/jrt/CryptoEngine.java +++ b/jrt/src/com/yahoo/jrt/CryptoEngine.java @@ -2,7 +2,7 @@ package com.yahoo.jrt; -import com.yahoo.security.tls.ConfigFileManagedTlsContext; +import com.yahoo.security.tls.ReloadingTlsContext; import com.yahoo.security.tls.TlsContext; import com.yahoo.security.tls.TransportSecurityUtils; import com.yahoo.security.tls.TransportSecurityUtils.MixedMode; @@ -23,7 +23,7 @@ public interface CryptoEngine extends AutoCloseable { if (!TransportSecurityUtils.isTransportSecurityEnabled()) { return new NullCryptoEngine(); } - TlsContext tlsContext = new ConfigFileManagedTlsContext(TransportSecurityUtils.getConfigFile().get(), Mode.DRY_RUN); + TlsContext tlsContext = new ReloadingTlsContext(TransportSecurityUtils.getConfigFile().get(), Mode.DRY_RUN); TlsCryptoEngine tlsCryptoEngine = new TlsCryptoEngine(tlsContext); if (!TransportSecurityUtils.isInsecureMixedModeEnabled()) { return tlsCryptoEngine; |