Class JpaMapRoleEntityDelegate

java.lang.Object
org.keycloak.models.map.role.MapRoleEntityDelegate
org.keycloak.models.map.storage.jpa.role.delegate.JpaMapRoleEntityDelegate
All Implemented Interfaces:
AbstractEntity, HasDelegateProvider<MapRoleEntity>, EntityWithAttributes, UpdatableEntity, MapRoleEntity

public class JpaMapRoleEntityDelegate extends MapRoleEntityDelegate
Delegate for the JPA implementation for MapRoleEntityDelegate. It will delegate all access to the composite roles to a separate table. For performance reasons, it caches the composite roles within the session if they have already been retrieved. This relies on the behavior of JpaMapStorage that each entity is created only once within each session.
Author:
Alexander Schwartz