diff --git a/archetypes/archetypes/src/main/archetype/common/files/src/main/resources/keystore.p12 b/archetypes/archetypes/src/main/archetype/common/files/src/main/resources/keystore.p12 index ff2c52d6694..96df596265a 100644 Binary files a/archetypes/archetypes/src/main/archetype/common/files/src/main/resources/keystore.p12 and b/archetypes/archetypes/src/main/archetype/common/files/src/main/resources/keystore.p12 differ diff --git a/archetypes/archetypes/src/main/archetype/mp/custom/database-outputs.xml b/archetypes/archetypes/src/main/archetype/mp/custom/database-outputs.xml index f1185e6e32b..dabec091ed0 100644 --- a/archetypes/archetypes/src/main/archetype/mp/custom/database-outputs.xml +++ b/archetypes/archetypes/src/main/archetype/mp/custom/database-outputs.xml @@ -292,7 +292,7 @@ docker run --rm --name mysql -p 3306:3306 \ -e MYSQL_ROOT_PASSWORD=root \ -e MYSQL_DATABASE=pokemon \ -e MYSQL_USER=user \ - -e MYSQL_PASSWORD=password \ + -e MYSQL_PASSWORD=changeit \ mysql:5.7 ``` ]]> @@ -318,7 +318,7 @@ docker run --rm --name mysql -p 3306:3306 \ com.mysql.cj.jdbc.MysqlDataSource jdbc:mysql://127.0.0.1:3306/pokemon?useSSL=false user - password + changeit diff --git a/archetypes/archetypes/src/main/archetype/mp/custom/files/application.http-signature.yaml b/archetypes/archetypes/src/main/archetype/mp/custom/files/application.http-signature.yaml index 2f86e37e46e..d4fb707494d 100644 --- a/archetypes/archetypes/src/main/archetype/mp/custom/files/application.http-signature.yaml +++ b/archetypes/archetypes/src/main/archetype/mp/custom/files/application.http-signature.yaml @@ -5,7 +5,7 @@ - key-id: "service1-hmac" principal-name: "Service1 - HMAC signature" # See [EncryptionFilter](https://helidon.io/docs/latest/apidocs/io.helidon.config.encryption/io/helidon/config/encryption/EncryptionFilter.html) for details about encrypting passwords in configuration files. - hmac.secret: "somePasswordForHmacShouldBeEncrypted" + hmac.secret: "changeit" - key-id: "service1-rsa" principal-name: "Service1 - RSA signature" public-key: @@ -17,6 +17,6 @@ # defaults to jdk default # keystore-type: "PKCS12" # password of the keystore - passphrase: "password" + passphrase: "changeit" # alias of the certificate to get public key from cert.alias: "service_cert" diff --git a/archetypes/archetypes/src/main/archetype/se/custom/database-output.xml b/archetypes/archetypes/src/main/archetype/se/custom/database-output.xml index c8a8e8b15ed..b1eac23deea 100644 --- a/archetypes/archetypes/src/main/archetype/se/custom/database-output.xml +++ b/archetypes/archetypes/src/main/archetype/se/custom/database-output.xml @@ -69,7 +69,7 @@ For details, see https://www.h2database.com/html/cheatSheet.html + password: changeit]]> diff --git a/archetypes/archetypes/src/main/archetype/se/custom/files/src/main/resources/client-service-jwt.yaml b/archetypes/archetypes/src/main/archetype/se/custom/files/src/main/resources/client-service-jwt.yaml index 1d892f0c02f..439fad4791c 100644 --- a/archetypes/archetypes/src/main/archetype/se/custom/files/src/main/resources/client-service-jwt.yaml +++ b/archetypes/archetypes/src/main/archetype/se/custom/files/src/main/resources/client-service-jwt.yaml @@ -10,13 +10,13 @@ security: - http-basic-auth: users: - login: "john" - password: "johnnyPassword" + password: "changeit" roles: ["admin"] - login: "jack" - password: "password" + password: "changeit" roles: ["user", "admin"] - login: "jill" - password: "anotherPassword" + password: "changeit" roles: ["user"] - jwt: allow-impersonation: true diff --git a/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/OutboundOverrideJwtTest.java.mustache b/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/OutboundOverrideJwtTest.java.mustache index 5742a2af785..6385cb9b758 100644 --- a/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/OutboundOverrideJwtTest.java.mustache +++ b/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/OutboundOverrideJwtTest.java.mustache @@ -47,7 +47,7 @@ public class OutboundOverrideJwtTest { try (Http1ClientResponse response = client.get() .path("/override") .property(EndpointConfig.PROPERTY_OUTBOUND_ID, "jack") - .property(EndpointConfig.PROPERTY_OUTBOUND_SECRET, "password") + .property(EndpointConfig.PROPERTY_OUTBOUND_SECRET, "changeit") .request()) { assertThat(response.status().code(), is(200)); @@ -62,7 +62,7 @@ public class OutboundOverrideJwtTest { try (Http1ClientResponse response = client.get() .path("/propagate") .property(EndpointConfig.PROPERTY_OUTBOUND_ID, "jack") - .property(EndpointConfig.PROPERTY_OUTBOUND_SECRET, "password") + .property(EndpointConfig.PROPERTY_OUTBOUND_SECRET, "changeit") .request()) { assertThat(response.status().code(), is(200)); diff --git a/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/SignatureMainTest.java.mustache b/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/SignatureMainTest.java.mustache index bdd4e56be1d..5cd89d3bcef 100644 --- a/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/SignatureMainTest.java.mustache +++ b/archetypes/archetypes/src/main/archetype/se/custom/files/src/test/java/__pkg__/SignatureMainTest.java.mustache @@ -51,7 +51,7 @@ public abstract class SignatureMainTest { private void test(String uri, Set expectedRoles, Set invalidRoles, String service) { try (Http1ClientResponse response = client.get(uri) .property(PROPERTY_OUTBOUND_ID, "jack") - .property(PROPERTY_OUTBOUND_SECRET, "password") + .property(PROPERTY_OUTBOUND_SECRET, "changeit") .request()) { assertThat(response.status().code(), is(200)); diff --git a/archetypes/archetypes/src/main/archetype/se/custom/security-outputs.xml b/archetypes/archetypes/src/main/archetype/se/custom/security-outputs.xml index ea13511f7da..5bd5b2e0e51 100644 --- a/archetypes/archetypes/src/main/archetype/se/custom/security-outputs.xml +++ b/archetypes/archetypes/src/main/archetype/se/custom/security-outputs.xml @@ -1,7 +1,7 @@