Skip to content

Commit

Permalink
rename trustStoreFileName to trustStore for consistency with other ex…
Browse files Browse the repository at this point in the history
…tensions
  • Loading branch information
newportd committed Jul 20, 2020
1 parent 50c9f04 commit f0c3ea7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion extensions/infinispan-client/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ This is working, but requires some additional steps to get configured.

#### Configure truststore information

This is configured via the `quarkus.infinispan-client.trust-store-file-name` application property. Everything is the same as normal in that
This is configured via the `quarkus.infinispan-client.trust-store` application property. Everything is the same as normal in that
you have to add the certificate from the server to the configured truststore if it already trusted in the default
java cacerts file.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private ConfigurationBuilder builderFromProperties(Properties properties) {
infinispanClientRuntimeConfig.saslMechanism
.ifPresent(v -> properties.put(ConfigurationProperties.SASL_MECHANISM, v));

infinispanClientRuntimeConfig.trustStoreFileName
infinispanClientRuntimeConfig.trustStore
.ifPresent(v -> properties.put(ConfigurationProperties.TRUST_STORE_FILE_NAME, v));

infinispanClientRuntimeConfig.trustStorePassword
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public class InfinispanClientRuntimeConfig {
* Sets the trust store path
*/
@ConfigItem
Optional<String> trustStoreFileName;
Optional<String> trustStore;

/**
* Sets the trust store password
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
quarkus.infinispan-client.server-list=localhost:11232
quarkus.infinispan-client.near-cache-max-entries=3
quarkus.infinispan-client.trust-store-file-name=src/main/resources/server.p12
quarkus.infinispan-client.trust-store=src/main/resources/server.p12
quarkus.infinispan-client.trust-store-password=changeit
quarkus.infinispan-client.trust-store-type=PKCS12

Expand Down

0 comments on commit f0c3ea7

Please sign in to comment.