From fe2790a09d0e24ea1b22f9d0631ade7d97331672 Mon Sep 17 00:00:00 2001 From: mposolda Date: Mon, 19 May 2025 10:15:26 +0200 Subject: [PATCH] Fix documentation link to quickstarts to point to 'main' branch instead of 'latest' branch closes #39798 Signed-off-by: mposolda --- .../topics/getting-started-overview.adoc | 4 ++-- .../documentation/server_development/topics/user-storage.adoc | 4 ++-- .../server_development/topics/user-storage/javaee.adoc | 4 ++-- .../securing-apps/partials/overview/getting-started.adoc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/documentation/authorization_services/topics/getting-started-overview.adoc b/docs/documentation/authorization_services/topics/getting-started-overview.adoc index b3380b12e71..53b831335af 100644 --- a/docs/documentation/authorization_services/topics/getting-started-overview.adoc +++ b/docs/documentation/authorization_services/topics/getting-started-overview.adoc @@ -4,7 +4,7 @@ For certain applications, you can look at the following resources to quickly get started with {project_name} Authorization Services: -* {quickstartRepo_link}/tree/latest/jakarta/servlet-authz-client[Securing a JakartaEE Application in Wildfly] -* {quickstartRepo_link}/tree/latest/spring/rest-authz-resource-server[Securing a Spring Boot Application] +* {quickstartRepo_link}/tree/main/jakarta/servlet-authz-client[Securing a JakartaEE Application in Wildfly] +* {quickstartRepo_link}/tree/main/spring/rest-authz-resource-server[Securing a Spring Boot Application] * link:https://quarkus.io/guides/security-keycloak-authorization[Securing Quarkus Applications] * link:https://www.keycloak.org/securing-apps/nodejs-adapter[Keycloak Node.js adapter] diff --git a/docs/documentation/server_development/topics/user-storage.adoc b/docs/documentation/server_development/topics/user-storage.adoc index 9466e3a009c..1b8e20eb256 100644 --- a/docs/documentation/server_development/topics/user-storage.adoc +++ b/docs/documentation/server_development/topics/user-storage.adoc @@ -19,10 +19,10 @@ There are two sample projects in link:{quickstartRepo_link}[{quickstartRepo_name |=== |Name |Description -| {quickstartRepo_link}/tree/latest/extension/user-storage-jpa[user-storage-jpa] +| {quickstartRepo_link}/tree/main/extension/user-storage-jpa[user-storage-jpa] | Demonstrates implementing a user storage provider using JPA. -| {quickstartRepo_link}/tree/latest/extension/user-storage-simple[user-storage-simple] +| {quickstartRepo_link}/tree/main/extension/user-storage-simple[user-storage-simple] | Demonstrates implementing a user storage provider using a simple properties file that contains username/password key pairs. |=== diff --git a/docs/documentation/server_development/topics/user-storage/javaee.adoc b/docs/documentation/server_development/topics/user-storage/javaee.adoc index 85d03599f4b..4fb8dc32807 100644 --- a/docs/documentation/server_development/topics/user-storage/javaee.adoc +++ b/docs/documentation/server_development/topics/user-storage/javaee.adoc @@ -8,7 +8,7 @@ endif::[] Therefore, the User Storage Providers cannot be packaged within any Jakarta EE component or make it an EJB as was the case when Keycloak ran over WildFly in previous versions. -Providers implementations are required to be plain java objects which implement the suitable User Storage SPI interfaces, as was explained in the previous sections. They must be packaged and deployed as stated in the Migration Guide. +Providers implementations are required to be plain java objects which implement the suitable User Storage SPI interfaces, as was explained in the previous sections. They must be packaged and deployed as stated in the Migration Guide. ifeval::[{project_community}==true] See https://www.keycloak.org/migration/migrating-to-quarkus#_migrating_custom_providers[Migrating custom providers]. endif::[] @@ -18,6 +18,6 @@ endif::[] You can still implement your custom `UserStorageProvider` class, which is able to integrate an external database by JPA Entity Manager, as shown in this example: - - {quickstartRepo_link}/tree/latest/extension/user-storage-jpa + - {quickstartRepo_link}/tree/main/extension/user-storage-jpa CDI is not supported. diff --git a/docs/guides/securing-apps/partials/overview/getting-started.adoc b/docs/guides/securing-apps/partials/overview/getting-started.adoc index 47cd933d0e7..dc687aaec99 100644 --- a/docs/guides/securing-apps/partials/overview/getting-started.adoc +++ b/docs/guides/securing-apps/partials/overview/getting-started.adoc @@ -11,8 +11,8 @@ Connect and SAML protocols. ifeval::[{project_community}==true] ==== Java -* {quickstartRepo_link}/tree/latest/jakarta/servlet-authz-client[Wildfly Elytron OIDC] -* {quickstartRepo_link}/tree/latest/spring/rest-authz-resource-server[Spring Boot] +* {quickstartRepo_link}/tree/main/jakarta/servlet-authz-client[Wildfly Elytron OIDC] +* {quickstartRepo_link}/tree/main/spring/rest-authz-resource-server[Spring Boot] endif::[] ==== JavaScript (client-side)