Skip to content

Commit 11054d0

Browse files
committed
Deploying to main from @ dbdde29bb78493ee442e9c99d8949702f1937d18 🚀
1 parent 036e58a commit 11054d0

File tree

5 files changed

+21
-14
lines changed

5 files changed

+21
-14
lines changed

2024/11/keycloak-2606-released.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
<h1>Keycloak 26.0.6 released</h1>
7171
<p class="blog-date text-muted">November 22 2024</p>
7272

73+
<div class="alert alert-warning" role="alert" data-nosnippet>
74+
This post is more than one year old. The content within the blog post is likely to be out of date.
75+
</div>
7376

7477
<p>To download the release go to <a href="https://www.keycloak.org/downloads.html">Keycloak downloads</a>.</p>
7578

extensions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ <h5 class="card-title">ORCID Social Identity Provider</h5>
453453
<div class="d-flex align-items-center">
454454
<img src="resources/images/github.png" width="16px" alt="GitHub logo"
455455
class="me-2"/>
456-
<span>13 stars</span>
456+
<span>14 stars</span>
457457
</div>
458458
</div>
459459
</div>

nightly/server/db.html

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,8 @@ <h3 id="_configuring_unicode_support_for_a_postgresql_database"><a class="anchor
513513
<div class="sect1">
514514
<h2 id="_preparing_for_postgresql"><a class="anchor" href="#_preparing_for_postgresql"></a>Preparing for PostgreSQL</h2>
515515
<div class="sectionbody">
516+
<div class="sect2">
517+
<h3 id="_writer_and_reader_instances"><a class="anchor" href="#_writer_and_reader_instances"></a>Writer and reader instances</h3>
516518
<div class="paragraph">
517519
<p>When running PostgreSQL reader and writer instances, Keycloak needs to always connect to the writer instance to do its work.
518520
When using the original PostgreSQL driver, Keycloak sets the <code>targetServerType</code> property of the PostgreSQL JDBC driver to <code>primary</code> to ensure that it always connects to a writable primary instance and never connects to a secondary reader instance in failover or switchover scenarios.</p>
@@ -534,14 +536,19 @@ <h2 id="_preparing_for_postgresql"><a class="anchor" href="#_preparing_for_postg
534536
</tr>
535537
</table>
536538
</div>
537-
<div class="admonitionblock tip">
538-
<table>
539-
<tr>
540-
<td class="icon">
541-
<i class="fa icon-tip" title="Tip"></i>
542-
</td>
543-
<td class="content">
544-
<div class="title">Secure Your PostgreSQL Connection</div>
539+
</div>
540+
<div class="sect2">
541+
<h3 id="_permissions_of_the_database_user"><a class="anchor" href="#_permissions_of_the_database_user"></a>Permissions of the database user</h3>
542+
<div class="paragraph">
543+
<p>Ensure that the database user has <code>SELECT</code> permissions to the following tables to ensure an efficient upgrade: <code>pg_class</code>, <code>pg_namespace</code>.</p>
544+
</div>
545+
<div class="paragraph">
546+
<p>This is used during upgrades of Keycloak to determine an estimated number of rows in a table.
547+
If Keycloak does not have permissions to access these tables, it will log a warning and proceed with the less efficient <code>SELECT COUNT(*) ...</code> operation during the upgrade to determine the number of rows in tables affected by schema changes.</p>
548+
</div>
549+
</div>
550+
<div class="sect2">
551+
<h3 id="_secure_your_connection"><a class="anchor" href="#_secure_your_connection"></a>Secure your connection</h3>
545552
<div class="paragraph">
546553
<p>To secure your database connection, configure your PostgreSQL server to use TLS and perform full server certificate verification on the client side.</p>
547554
</div>
@@ -568,9 +575,6 @@ <h2 id="_preparing_for_postgresql"><a class="anchor" href="#_preparing_for_postg
568575
</li>
569576
</ul>
570577
</div>
571-
</td>
572-
</tr>
573-
</table>
574578
</div>
575579
</div>
576580
</div>

sitemap-extra.xml

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)