All Classes and Interfaces
Class
Description
Hibernate event listener that enables asynchronous commit for PostgreSQL transactions
that only modify entities implementing
AsynchronousCommitAllowed.Marker interface for JPA entities that can tolerate asynchronous commit.
This class provides an empty implementation of
BooleanConditionParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.This class provides an empty implementation of
BooleanConditionParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.This interface defines a complete listener for a parse tree produced by
BooleanConditionParser.This interface defines a complete generic visitor for a parse tree produced
by
BooleanConditionParser.Binding between client and clientScope
Manage compmosite role relations.
This visitor traverses the entire parse tree and collects the names of all conditionCalls.
This visitor traverses the entire parse tree and collects the supported types of all conditionCalls.
Rejects
CREATE TABLE ... AS SELECT on MySQL — incompatible with Group Replication (ERROR 3098).We need to remove DELETE SQL command, which liquibase adds by default when inserting record to table lock.
We use "SELECT FOR UPDATE" pessimistic locking (Same algorithm like Hibernate LockMode.PESSIMISTIC_WRITE )
Liquibase lock service, which has some bugfixes and assumes timeouts to be configured in milliseconds
Binding between realm and default clientScope
An
ExpirationTask that runs a single global cleanup (no per-realm iteration).Dummy lock service injected to Liquibase.
A callback that removes expired entries from the database.
Shared utilities for configuring and bootstrapping
ExpirationTask instances in provider factories.A listener notified after each expiration task run.
A periodic task that removes expired entries from the database.
A builder for creating
ExpirationTask instances.The MySQL database is the only database where columns longer than 255 characters are changed to a TEXT column, allowing
for up to 64k characters.
An immutable
PersistentClientSessionEntity to optimize read-only queries.An immutable
PersistentUserSessionEntity to optimize read-only queries.Create hashes for long values stored in the database.
A JPA based implementation of
IdentityProviderStorageProvider.A JPA based implementation of
IdentityProviderStorageProviderFactory.A
ServerConfigStorageProvider that stores its data in the database, using the EntityManager.A
ServerConfigStorageProviderFactory that instantiates JpaServerConfigStorageProvider.JPA-based
SingleUseObjectProvider that stores single-use objects in a relational database.Factory for
JpaSingleUseObjectProvider.Migration class to remove old rh-sso themes.
Migration class to update themes for those who had upgraded to 22.0.0 already.
Custom liquibase change to migrate legacy
terms and conditions required action for federated users (table
FED_USER_REQUIRED_ACTION, in line with what JpaUpdate21_0_2_TermsAndConditionsRequiredAction
did to migrate the same action for regular users.Custom SQL change to migrate the organization ID and the hide on login page config from the IDP config table to the
IDP table.
Cleanup script for removing duplicated migration model update time in the MIGRATION_MODEL table
See: keycloak#40088
Cleanup script for removing duplicated migration model versions in the MIGRATION_MODEL table
See: keycloak#39866
Ensures ORG.ID column and ORG_INVITATION table has set the default charset and collation for MySQL/MariaDB.
Update CREATED_ON and LAST_SESSION_REFRESH columns to current startup time
Status of database up-to-dateness
A
PartialEvaluationStorageProvider that provides support for partial evaluation when querying UserModel.Custom subclass to expose protected liquibase API.
A
Logger implementation that delegates to a JBoss Logger.A
LogService implementation that creates instances of KeycloakLogger.Indicates that retrieve lock wasn't successful, but it worth to retry it in different transaction (For example if we were trying to create LOCK table, but other transaction
created the table in the meantime etc)
This holds information about failed logins.
Changes VARCHAR type with size greater than 255 to text type for MySQL 8 and newer.
JPA entity representing an internet domain that can be associated with an organization.
JPA entity for organization invitations.
Computes the exponential-backoff next-attempt timestamp for a failed
outbox delivery, and decides when a row has exhausted its budget and
should be transitioned to
DEAD_LETTER.Background cleanup task that drains outbox rows owned by a removed
realm or owner (e.g. receiver client).
Per-kind tuning parameters for
OutboxDrainerTask and the
accompanying retention purges.Per-kind plug-in that knows how to actually deliver an
OutboxEntryEntity's payload to its destination.Per-row result of an
OutboxDeliveryHandler.deliver(org.keycloak.models.KeycloakSession, org.keycloak.models.jpa.entities.OutboxEntryEntity) invocation.Per-row result returned by an
OutboxDeliveryHandler.deliver(org.keycloak.models.KeycloakSession, org.keycloak.models.jpa.entities.OutboxEntryEntity)
invocation.Drains the generic outbox for one registered
entryKind: locks
due PENDING rows, hands them off to the kind's
OutboxDeliveryHandler, and transitions each row based on the
returned OutboxDeliveryOutcome.Generic durable outbox row: a single message persisted for asynchronous,
at-least-once delivery by a feature-scoped drainer.
Lifecycle status of a row in the generic outbox (
OUTBOX_ENTRY).DAO over
OutboxEntryEntity.The outcome of an expiration task execution.
An
ExpirationTask that runs cleanup per realm.Stores a list of revoked tokens in the database, so it is available after restarts.
A JPA entity to store the key-value configuration.
ExpirationAction that deletes expired rows from the SINGLE_USE_OBJECT table.All methods are idempotent, as they either set a time or value, or increment a failure count.
Record representing a
AuthenticatedClientSessionModel, with user session ID and its
associated client session ID.Represents the state of a resource within a time-based workflow.