We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55df890 commit e0a96b0Copy full SHA for e0a96b0
core/src/main/java/io/temporal/samples/ssl/Starter.java
@@ -50,9 +50,9 @@ public static void main(String[] args) throws Exception {
50
if (refreshPeriod > 0) {
51
AdvancedTlsX509KeyManager clientKeyManager = new AdvancedTlsX509KeyManager();
52
// Reload credentials every minute
53
- clientKeyManager.updateIdentityCredentialsFromFile(
54
- clientKeyFile,
+ clientKeyManager.updateIdentityCredentials(
55
clientCertFile,
+ clientKeyFile,
56
refreshPeriod,
57
TimeUnit.MINUTES,
58
Executors.newScheduledThreadPool(1));
0 commit comments