Skip to content

Commit 1f1643a

Browse files
authored
Merge pull request #44449 from jedla97/bump-keycloak-26.0.5
Bump Keycloak version to 26.0.7
2 parents 4f943d5 + 19f2bc2 commit 1f1643a

File tree

19 files changed

+69
-71
lines changed

19 files changed

+69
-71
lines changed

build-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<junit4.version>4.13.2</junit4.version>
9696

9797
<!-- The image to use for tests that run Keycloak -->
98-
<keycloak.server.version>25.0.6</keycloak.server.version>
98+
<keycloak.server.version>26.0.7</keycloak.server.version>
9999
<keycloak.wildfly.version>19.0.3</keycloak.wildfly.version>
100100
<keycloak.docker.image>quay.io/keycloak/keycloak:${keycloak.server.version}</keycloak.docker.image>
101101
<keycloak.docker.legacy.image>quay.io/keycloak/keycloak:${keycloak.wildfly.version}-legacy</keycloak.docker.legacy.image>

docs/src/main/asciidoc/security-keycloak-authorization.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ docker run --name keycloak \
306306
start --hostname-strict=false --https-key-store-file=/etc/keycloak-keystore.jks <2>
307307
----
308308

309-
<1> For `keycloak.version`, ensure the version is `25.0.6` or later.
309+
<1> For `keycloak.version`, ensure the version is `26.0.7` or later.
310310
<2> For Keycloak keystore, use the `keycloak-keystore.jks` file located at https://github.com/quarkusio/quarkus-quickstarts/blob/main/security-keycloak-authorization-quickstart/config/keycloak-keystore.jks[quarkus-quickstarts/security-keycloak-authorization-quickstart/config].
311311

312312

docs/src/main/asciidoc/security-oidc-bearer-token-authentication-tutorial.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ For more information, see the <<bearer-token-tutorial-keycloak-dev-mode>> sectio
217217
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
218218
----
219219
====
220-
* Where the `keycloak.version` is set to version `25.0.6` or later.
220+
* Where the `keycloak.version` is set to version `26.0.7` or later.
221221
. You can access your Keycloak server at http://localhost:8180[localhost:8180].
222222
. To access the Keycloak Administration console, log in as the `admin` user by using the following login credentials:
223223

docs/src/main/asciidoc/security-oidc-code-flow-authentication-tutorial.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ To start a Keycloak server, use Docker and run the following command:
201201
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
202202
----
203203

204-
where `keycloak.version` is set to `25.0.6` or later.
204+
where `keycloak.version` is set to `26.0.7` or later.
205205

206206
You can access your Keycloak Server at http://localhost:8180[localhost:8180].
207207

docs/src/main/asciidoc/security-openid-connect-client.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ To start a Keycloak Server, you can use Docker and just run the following comman
505505
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
506506
----
507507

508-
Set `{keycloak.version}` to `25.0.6` or later.
508+
Set `{keycloak.version}` to `26.0.7` or later.
509509

510510
You can access your Keycloak Server at http://localhost:8180[localhost:8180].
511511

docs/src/main/asciidoc/security-openid-connect-dev-services.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ For more information, see xref:security-oidc-bearer-token-authentication.adoc#be
258258
[[keycloak-initialization]]
259259
=== Keycloak initialization
260260

261-
The `quay.io/keycloak/keycloak:25.0.6` image which contains a Keycloak distribution powered by Quarkus is used to start a container by default.
261+
The `quay.io/keycloak/keycloak:26.0.7` image which contains a Keycloak distribution powered by Quarkus is used to start a container by default.
262262
`quarkus.keycloak.devservices.image-name` can be used to change the Keycloak image name.
263263
For example, set it to `quay.io/keycloak/keycloak:19.0.3-legacy` to use a Keycloak distribution powered by WildFly.
264264
Be aware that a Quarkus-based Keycloak distribution is only available starting from Keycloak `20.0.0`.

docs/src/main/asciidoc/security-openid-connect-multitenancy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ To start a Keycloak server, you can use Docker and run the following command:
346346
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
347347
----
348348

349-
where `keycloak.version` is set to `25.0.6` or higher.
349+
where `keycloak.version` is set to `26.0.7` or higher.
350350

351351
Access your Keycloak server at http://localhost:8180[localhost:8180].
352352

extensions/devservices/keycloak/src/main/java/io/quarkus/devservices/keycloak/KeycloakDevServicesConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface KeycloakDevServicesConfig {
3939
* ends with `-legacy`.
4040
* Override with `quarkus.keycloak.devservices.keycloak-x-image`.
4141
*/
42-
@WithDefault("quay.io/keycloak/keycloak:25.0.6")
42+
@WithDefault("quay.io/keycloak/keycloak:26.0.7")
4343
String imageName();
4444

4545
/**

extensions/oidc-db-token-state-manager/deployment/src/test/java/io/quarkus/oidc/db/token/state/manager/AbstractDbTokenStateManagerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void testCodeFlow() throws IOException {
6868
loginForm.getInputByName("username").setValueAttribute("alice");
6969
loginForm.getInputByName("password").setValueAttribute("alice");
7070

71-
textPage = loginForm.getInputByName("login").click();
71+
textPage = loginForm.getButtonByName("login").click();
7272

7373
assertEquals("alice", textPage.getContent());
7474

extensions/oidc-db-token-state-manager/deployment/src/test/java/io/quarkus/oidc/db/token/state/manager/HibernateOrmPgDbTokenStateManagerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void testCodeFlowOnTableNotCreatedByExtension() throws IOException {
5050
loginForm.getInputByName("username").setValueAttribute("alice");
5151
loginForm.getInputByName("password").setValueAttribute("alice");
5252

53-
page = loginForm.getInputByName("login").click();
53+
page = loginForm.getButtonByName("login").click();
5454
assertEquals(200, page.getWebResponse().getStatusCode());
5555

5656
WebResponse webResponse = webClient.loadWebResponse(

extensions/oidc-redis-token-state-manager/deployment/src/test/java/io/quarkus/oidc/redis/token/state/manager/deployment/AbstractRedisTokenStateManagerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void testCodeFlow() throws IOException {
5757
loginForm.getInputByName("username").setValueAttribute("alice");
5858
loginForm.getInputByName("password").setValueAttribute("alice");
5959

60-
textPage = loginForm.getInputByName("login").click();
60+
textPage = loginForm.getButtonByName("login").click();
6161

6262
assertEquals("alice", textPage.getContent());
6363

integration-tests/keycloak-authorization/src/test/java/io/quarkus/it/keycloak/AbstractPolicyEnforcerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private void testWebAppTenantAllowed(String user) throws Exception {
7878

7979
loginForm.getInputByName("username").setValueAttribute(user);
8080
loginForm.getInputByName("password").setValueAttribute(user);
81-
WebResponse response = loginForm.getInputByName("login").click().getWebResponse();
81+
WebResponse response = loginForm.getButtonByName("login").click().getWebResponse();
8282
assertEquals(200, response.getStatusCode());
8383
assertTrue(response.getContentAsString().contains("Permission Resource WebApp"));
8484

@@ -102,7 +102,7 @@ private void testWebAppTenantForbidden(String user) throws Exception {
102102
loginForm.getInputByName("username").setValueAttribute(user);
103103
loginForm.getInputByName("password").setValueAttribute(user);
104104
try {
105-
loginForm.getInputByName("login").click();
105+
loginForm.getButtonByName("login").click();
106106
fail("403 status error is expected");
107107
} catch (FailingHttpStatusCodeException ex) {
108108
assertEquals(403, ex.getStatusCode());

integration-tests/oidc-client-registration/src/test/java/io/quarkus/it/keycloak/OidcClientRegistrationTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void testDefaultRegisteredClientOnStartup() throws IOException {
4040
loginForm.getInputByName("username").setValueAttribute("alice");
4141
loginForm.getInputByName("password").setValueAttribute("alice");
4242

43-
TextPage textPage = loginForm.getInputByName("login").click();
43+
TextPage textPage = loginForm.getButtonByName("login").click();
4444

4545
assertEquals("registered-client:Default Client Updated:alice", textPage.getContent());
4646
}
@@ -59,7 +59,7 @@ public void testTenantRegisteredClientOnStartup() throws IOException {
5959
loginForm.getInputByName("username").setValueAttribute("alice");
6060
loginForm.getInputByName("password").setValueAttribute("alice");
6161

62-
TextPage textPage = loginForm.getInputByName("login").click();
62+
TextPage textPage = loginForm.getButtonByName("login").click();
6363

6464
assertEquals("registered-client-tenant:Tenant Client:alice", textPage.getContent());
6565
}
@@ -77,7 +77,7 @@ public void testRegisteredClientDynamically() throws IOException {
7777
loginForm.getInputByName("username").setValueAttribute("alice");
7878
loginForm.getInputByName("password").setValueAttribute("alice");
7979

80-
TextPage textPage = loginForm.getInputByName("login").click();
80+
TextPage textPage = loginForm.getButtonByName("login").click();
8181

8282
assertEquals("registered-client-dynamically:Dynamic Client:alice", textPage.getContent());
8383
}
@@ -95,7 +95,7 @@ public void testRegisteredClientDynamicTenant() throws IOException {
9595
loginForm.getInputByName("username").setValueAttribute("alice");
9696
loginForm.getInputByName("password").setValueAttribute("alice");
9797

98-
TextPage textPage = loginForm.getInputByName("login").click();
98+
TextPage textPage = loginForm.getButtonByName("login").click();
9999

100100
assertEquals("registered-client-dynamic-tenant:Dynamic Tenant Client:alice", textPage.getContent());
101101
}
@@ -113,7 +113,7 @@ public void testRegisteredClientMulti1() throws IOException {
113113
loginForm.getInputByName("username").setValueAttribute("alice");
114114
loginForm.getInputByName("password").setValueAttribute("alice");
115115

116-
TextPage textPage = loginForm.getInputByName("login").click();
116+
TextPage textPage = loginForm.getButtonByName("login").click();
117117

118118
assertEquals("registered-client-multi1:Multi1 Client:alice", textPage.getContent());
119119
}
@@ -131,7 +131,7 @@ public void testRegisteredClientMulti2() throws IOException {
131131
loginForm.getInputByName("username").setValueAttribute("alice");
132132
loginForm.getInputByName("password").setValueAttribute("alice");
133133

134-
TextPage textPage = loginForm.getInputByName("login").click();
134+
TextPage textPage = loginForm.getButtonByName("login").click();
135135

136136
assertEquals("registered-client-multi2:Multi2 Client:alice", textPage.getContent());
137137
}
@@ -149,7 +149,7 @@ public void testRegisteredClientJwtBearerTokenFromFile() throws IOException {
149149
loginForm.getInputByName("username").setValueAttribute("alice");
150150
loginForm.getInputByName("password").setValueAttribute("alice");
151151

152-
TextPage textPage = loginForm.getInputByName("login").click();
152+
TextPage textPage = loginForm.getButtonByName("login").click();
153153

154154
assertEquals("registered-client-jwt-bearer-token-file:signed-jwt-test:alice", textPage.getContent());
155155
}

0 commit comments

Comments
 (0)