Class JpaUserLoginFailureMapStorage
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
org.keycloak.models.map.storage.jpa.loginFailure.JpaUserLoginFailureMapStorage
- All Implemented Interfaces:
MapStorage<MapUserLoginFailureEntity,
UserLoginFailureModel>
public class JpaUserLoginFailureMapStorage
extends JpaMapStorage<JpaUserLoginFailureEntity,MapUserLoginFailureEntity,UserLoginFailureModel>
A
JpaMapStorage
implementation for user login failure entities.- Author:
- Stefan Guilhen
-
Field Summary
Fields inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
em
-
Constructor Summary
ConstructorDescriptionJpaUserLoginFailureMapStorage
(KeycloakSession session, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionprotected MapUserLoginFailureEntity
mapToEntityDelegate
(JpaUserLoginFailureEntity original) jakarta.persistence.criteria.Selection<JpaUserLoginFailureEntity>
selectCbConstruct
(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserLoginFailureEntity> root) void
setEntityVersion
(JpaRootEntity entity) Methods inherited from class org.keycloak.models.map.storage.jpa.JpaMapStorage
clearQueryCache, create, delete, delete, getCount, mapToEntityDelegateUnique, read, read, removeFromCache
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.models.map.storage.MapStorage
exists, exists
-
Constructor Details
-
JpaUserLoginFailureMapStorage
-
-
Method Details
-
selectCbConstruct
public jakarta.persistence.criteria.Selection<JpaUserLoginFailureEntity> selectCbConstruct(jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.Root<JpaUserLoginFailureEntity> root) - Specified by:
selectCbConstruct
in classJpaMapStorage<JpaUserLoginFailureEntity,
MapUserLoginFailureEntity, UserLoginFailureModel>
-
setEntityVersion
- Specified by:
setEntityVersion
in classJpaMapStorage<JpaUserLoginFailureEntity,
MapUserLoginFailureEntity, UserLoginFailureModel>
-
createJpaModelCriteriaBuilder
-
mapToEntityDelegate
- Specified by:
mapToEntityDelegate
in classJpaMapStorage<JpaUserLoginFailureEntity,
MapUserLoginFailureEntity, UserLoginFailureModel>
-