Class JpaUserLoginFailureDelegateProvider
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaDelegateProvider<JpaUserLoginFailureEntity>
org.keycloak.models.map.storage.jpa.loginFailure.delegate.JpaUserLoginFailureDelegateProvider
- All Implemented Interfaces:
DelegateProvider<MapUserLoginFailureEntity>
public class JpaUserLoginFailureDelegateProvider
extends JpaDelegateProvider<JpaUserLoginFailureEntity>
implements DelegateProvider<MapUserLoginFailureEntity>
A
DelegateProvider
implementation for JpaUserLoginFailureEntity
.- Author:
- Stefan Guilhen
-
Constructor Summary
ConstructorDescriptionJpaUserLoginFailureDelegateProvider
(JpaUserLoginFailureEntity delegate, jakarta.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptiongetDelegate
(boolean isRead, Enum<? extends EntityField<MapUserLoginFailureEntity>> field, Object... parameters) Returns a delegate for and entity for an operation on a field.Methods inherited from class org.keycloak.models.map.storage.jpa.JpaDelegateProvider
getDelegate, setDelegate
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.common.delegate.DelegateProvider
isUpdated
-
Constructor Details
-
JpaUserLoginFailureDelegateProvider
public JpaUserLoginFailureDelegateProvider(JpaUserLoginFailureEntity delegate, jakarta.persistence.EntityManager em)
-
-
Method Details
-
getDelegate
public MapUserLoginFailureEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapUserLoginFailureEntity>> field, Object... parameters) Description copied from interface:DelegateProvider
Returns a delegate for and entity for an operation on a field.- Specified by:
getDelegate
in interfaceDelegateProvider<MapUserLoginFailureEntity>
- Parameters:
isRead
-true
when the delegate requested for a read operation, false otherwisefield
- Identification of the field this delegates operates on. While this parameter can be any object includingnull
, if it is a known field, then it is guaranteed to be one of theEntityField
s enumerated in one of theMap*EntityFields
enum.- Returns:
-