Skip to content

Commit

Permalink
Fix a typo in the BC CredentialsProvider test
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Nov 29, 2022
1 parent 3461ad5 commit 81fdcd1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class SecretProvider implements CredentialsProvider {
@Override
public Map<String, String> getCredentials(String credentialsProviderName) {
Map<String, String> creds = new HashMap<>();
creds.put("keystore-password", "password");
creds.put("keystore-password", "secret");
creds.put("truststore-password", "password");
return creds;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
quarkus.security.security-providers=BCJSSE

quarkus.http.ssl.certificate.key-store-file=server-keystore.jks
quarkus.http.ssl.certificate.key-store-password-key=key-store-password
quarkus.http.ssl.certificate.key-store-password-key=keystore-password
quarkus.http.ssl.certificate.trust-store-file=server-truststore.jks
quarkus.http.ssl.certificate.trust-store-password-key=truststore-password
quarkus.http.ssl.certificate.credentials-provider=custom
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected void doTestListProviders() {
.setBaseUri(String.format("%s://%s", url.getProtocol(), url.getHost()))
.setPort(url.getPort())
.setKeyStore("client-keystore.jks", "password")
.setTrustStore("client-truststore.jks", "password")
.setTrustStore("client-truststore.jks", "secret")
.build();
RestAssured.given()
.spec(spec)
Expand Down
Binary file not shown.

0 comments on commit 81fdcd1

Please sign in to comment.