All Classes and Interfaces

Class
Description
 
 
 
Abstract "store" for bulk sending of the updates related to lastSessionRefresh
 
 
 
AbstractUserSessionClusterListener<SE extends SessionClusterEvent,T extends org.keycloak.provider.Provider>
 
A Function to be used by CacheStream to extract the client's ID from the client sessions associated to a UserSessionEntity.
WARNING: Generated code!
 
 
WARNING: Generated code!
It gives a read-only view of the AuthenticatedClientSessionModel belonging to a UserSessionModel though the Map interface where the key is the Client ID.
 
WARNING: Generated code!
An Updater implementation that keeps track of AuthenticatedClientSessionModel changes.
NOTE: Calling setter doesn't automatically enlist for update
 
WARNING: Generated code!
Syntactic sugar for {@code RemoteInfinispanKeycloakTransaction<String, RootAuthenticationSessionEntity, ByRealmIdQueryConditionalRemover<String, RootAuthenticationSessionEntity>>
 
WARNING: Generated code!
 
Base functionality of an Updater implementation.
 
A ConditionalRemover implementation to delete SessionEntity based on the realmId value.
Utility class related to the Infinispan cache configuration.
 
 
 
 
 
 
 
The cache entry, which contains list of all identityProvider links for particular user.
 
 
 
 
 
 
Cached entry that stores organization group IDs resulting from queries.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A provider to create the ConfigurationBuilderHolder to configure the EmbeddedCacheManager.
The ProviderFactory to build CacheEmbeddedConfigProvider.
Groups the Cache, the ActionSequencer (used by replace method) and the SessionFunction to compute the lifespan, and the max-idle for this session entity.
 
WARNING: Generated code!
Some notes on how this works: This implementation manages optimistic locking and version checks itself.
A provider to create a configuration to the Hot Rod client.
An SPI to generate the configuration for the Hot Rod client.
 
 
Class to handle JGroups certificate reloading for encryption (mTLS).
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
 
WARNING: Generated code!
Syntactic sugar for RemoteChangeLogTransaction<SessionKey, AuthenticatedClientSessionEntity, AuthenticatedClientSessionUpdater, UserAndClientSessionConditionalRemover<AuthenticatedClientSessionEntity>>
A Predicate to filter AuthenticatedClientSessionEntity values based on the Realm ID and the User ID.
WARNING: Generated code!
The key stored in the RemoteCache for RemoteAuthenticatedClientSessionEntity.
WARNING: Generated code!
A Grouper implementation that uses the User Session ID to assign the Client Session to the cache segment.
Manages transactional context for AuthenticatedClientSessionModel changes.
 
Util class with Infinispan Ickle Queries for RemoteAuthenticatedClientSessionEntity.
A ConditionalRemover implementation to remove RemoteAuthenticatedClientSessionEntity based on some filters over its state.
 
 
WARNING: Generated code!
Infinispan cluster health checks, to detect network partitions.
 
A Function that converts the Collection to a Stream.
WARNING: Generated code!
It handles conditional remove operations.
Wraps an InfinispanClusterProvider and additionally persists events to the database for cross-cluster communication.
This implementation sends information to other clusters via a database table.
Polls the CLUSTER_EVENT database table for events addressed to this cluster, replays them into the local Infinispan work cache, and deletes the consumed rows.
A JGroupsCertificateProvider implementation that stores the certificates in the database.
A pending (blocking) database update.
The default implementation of CacheEmbeddedConfigProviderFactory.
 
 
A KeycloakTransaction that collects NonBlockingTransaction to commit/rollback in a non-blocking fashion.
 
The default implementation for JGroupsCertificateProvider.
Default implementation of DefaultLazyLoader that only fetches data once.
Implementation used when an external Infinispan cluster is not configured.
The key stored in the Cache for AuthenticatedClientSessionEntity.
WARNING: Generated code!
A listener for embedded Infinispan caches.
A ConditionalRemover that does not remove anything.
 
Expiration data for Infinispan storage, in milliseconds.
Lifecycle methods for the user and client session expiration task.
Provides factory method to instantiate an ExpirationTask.
A JGroupsCertificateProvider implementation that reads the key and trust stores from a file.
Not thread-safe.
 
 
WARNING: Generated code!
A Supplier that returns a Collector to group and count elements.
WARNING: Generated code!
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
 
WARNING: Generated code!
 
WARNING: Generated code!
 
WARNING: Generated code!
 
Helper class to map a list of user and client sessions, from Infinispan caches, into an immutable session.
 
 
WARNING: Generated code!
 
 
 
 
 
 
 
 
 
Utility methods for embedded and change-log based transaction
 
This impl is aware of Cross-Data-Center scenario too
 
 
 
 
 
 
 
 
 
Deprecated, for removal: This API element is subject to removal in a future version.
not supported and to be removed.
 
 
 
 
 
 
TODO: Check if Boolean can be used as single-use cache argument instead of SingleUseObjectValueEntity.
 
 
 
A provider for Infinispan cache operations to be committed/rolled-back in a KeycloakTransaction.
 
 
 
 
 
 
 
 
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
A ClusterHealth implementation that makes use of KEYCLOAK_JDBC_PING2.
JPA entity to store the X509Certificate and KeyPair.
A Provider for the TLS certificate for JGroups communication.
A ProviderFactory for JGroupsCertificateProvider.
The Spi implementation for JGroupsCertificateProvider.
 
Utility class to configure JGroups based on the Keycloak configuration.
 
 
 
 
 
 
 
 
WARNING: Generated code!
 
 
 
 
 
A functional interface that can be used to return data D from a source S where implementations are free to define how and when data is fetched from source as well how it is internally cached.
 
 
WARNING: Generated code!
 
WARNING: Generated code!
Syntactic sugar for RemoteChangeLogTransaction<LoginFailureKey, LoginFailureEntity, LoginFailuresUpdater, ByRealmIdConditionalRemover<LoginFailureKey, LoginFailureEntity>>
 
WARNING: Generated code!
 
WARNING: Generated code!
Util class with Infinispan Ickle Queries for LoginFailureEntity.
A BiConsumer that updates the lifespan of login failure cache entries based on realm lockout policies.
WARNING: Generated code!
Implementation of Updater and UserLoginFailureModel.
 
A Function to extract the key from a Map.Entry.
WARNING: Generated code!
 
An Map implementation that keeps track of any modification performed in the Map.
Ids of the protostream type.
 
WARNING: Generated code!
 
Represents a non-blocking transaction.
 
Provides Open Telemetry (https://opentelemetry.io/) tracing for JGroups.
 
 
 
 
 
 
 
WARNING: Generated code!
 
 
 
WARNING: Generated code!
 
Marker interface for tasks that update persistent sessions
Capture information for a deferred update of the session stores.
 
The store is supposed to do periodic bulk update of lastSessionRefresh times of all userSessions, which were refreshed during some period of time.
 
 
 
 
 
WARNING: Generated code!
 
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
 
 
- the high level architecture of this cache is an invalidation cache
 
 
 
WARNING: Generated code!
 
WARNING: Generated code!
 
WARNING: Generated code!
Reloads the JGroups certificate
WARNING: Generated code!
 
WARNING: Generated code!
A KeycloakTransaction implementation that keeps track of changes made to entities stored in a Infinispan cache.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
WARNING: Generated code!
A listener for remote Infinispan caches.
An UserSessionProvider implementation that uses only RemoteCache as storage.
 
 
WARNING: Generated code!
Removes keys from a Cache.
WARNING: Generated code!
 
WARNING: Generated code!
Performs an entity replacement in Infinispan, using its versions instead of equality.
WARNING: Generated code!
 
 
 
 
WARNING: Generated code!
 
 
 
WARNING: Generated code!
 
WARNING: Generated code!
 
WARNING: Generated code!
 
 
 
WARNING: Generated code!
 
 
 
 
WARNING: Generated code!
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
 
 
 
 
WARNING: Generated code!
 
WARNING: Generated code!
Adding an in-JVM lock to prevent a best-effort concurrent executions for the same ID.
A key affinity service that generates keys with affinity to the local node in a distributed cache.
 
 
WARNING: Generated code!
Represents an entity containing data about a session, i.e. an object that is stored in infinispan cache.
An updated interface for Infinispan cache.
 
WARNING: Generated code!
Postpone sending notifications of session events to the commit of Keycloak transaction
Utility record to check if a user or client session is expired.
Function definition used for the lifespan and idle calculations for the infinispan session entities.
 
WARNING: Generated code!
 
 
 
A Function to unwrap the SessionEntity from the SessionEntityWrapper.
WARNING: Generated code!
tracks all changes to the underlying session in this transaction
 
 
 
WARNING: Generated code!
Represents a condition that may block shutdown until it is resolved.
A listener that is notified when the server begins shutting down.
Manages an ordered list of ShutdownListener instances that are notified sequentially when the server shuts down.
Syntactic sugar for RemoteInfinispanKeycloakTransaction<String, SingleUseObjectValueEntity, ConditionalRemover<String, SingleUseObjectValueEntity>>
 
WARNING: Generated code!
 
 
 
 
 
 
 
An Infinispan cache listener that delays server shutdown until the cache topology is stable (i.e. no rehash is in progress).
Deprecated, for removal: This API element is subject to removal in a future version.
For removal.
Header which carries an OpenTelemetry Span between requests and responses
Used to track cache revisions
An interface used by RemoteChangeLogTransaction.
A factory interface that creates, wraps or deletes entities.
 
 
 
 
WARNING: Generated code!
 
 
WARNING: Generated code!
 
WARNING: Generated code!
 
WARNING: Generated code!
Used when user added/removed
WARNING: Generated code!
 
 
 
UserSessionAdapter<T extends SessionRefreshStore & org.keycloak.models.UserSessionProvider>
 
Syntactic sugar for RemoteChangeLogTransaction<SessionKey, UserSessionEntity, UserSessionUpdater, UserAndClientSessionConditionalRemover<UserSessionEntity>>
 
WARNING: Generated code!
User session transaction implementation that optimizes Infinispan cache expiration settings.
 
 
WARNING: Generated code!
Util class with Infinispan Ickle Queries for RemoteUserSessionEntity.
A ConditionalRemover implementation to remove RemoteUserSessionEntity based on some filters over its state.
A KeycloakTransaction implementation that wraps all the user and client session transactions.
The Updater implementation to keep track of modifications for UserSessionModel.
 
WARNING: Generated code!
WARNING: Generated code!
 
WARNING: Generated code!
Invalidation event for user verifiable credentials cache entries
WARNING: Generated code!
Utility method for this package and subpackages
 
A BiFunction implementation that returns the second argument unchanged, effectively acting as an identity function for the value parameter.
WARNING: Generated code!
A ShutdownListener that blocks the shutdown thread until a ShutdownCondition is no longer in progress, or until the provided deadline elapses.
WARNING: Generated code!
 
 
WARNING: Generated code!