Class RemoteUserLoginFailureProvider
java.lang.Object
org.keycloak.models.sessions.infinispan.remote.RemoteUserLoginFailureProvider
- All Implemented Interfaces:
UserLoginFailureProvider
,Provider
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddUserLoginFailure
(RealmModel realm, String userId) Adds aUserLoginFailureModel
for the given realm and user id.void
close()
getUserLoginFailure
(RealmModel realm, String userId) Returns theUserLoginFailureModel
for the given realm and user id.void
Removes all theUserLoginFailureModel
for the given realm.void
removeUserLoginFailure
(RealmModel realm, String userId) Removes aUserLoginFailureModel
for the given realm and user id.
-
Constructor Details
-
RemoteUserLoginFailureProvider
-
-
Method Details
-
getUserLoginFailure
Description copied from interface:UserLoginFailureProvider
Returns theUserLoginFailureModel
for the given realm and user id.- Specified by:
getUserLoginFailure
in interfaceUserLoginFailureProvider
- Parameters:
realm
-RealmModel
userId
-String
Id of the user.- Returns:
- Returns the
UserLoginFailureModel
for the given realm and user id.
-
addUserLoginFailure
Description copied from interface:UserLoginFailureProvider
Adds aUserLoginFailureModel
for the given realm and user id.- Specified by:
addUserLoginFailure
in interfaceUserLoginFailureProvider
- Parameters:
realm
-RealmModel
userId
-String
Id of the user.- Returns:
- Returns newly created
UserLoginFailureModel
.
-
removeUserLoginFailure
Description copied from interface:UserLoginFailureProvider
Removes aUserLoginFailureModel
for the given realm and user id.- Specified by:
removeUserLoginFailure
in interfaceUserLoginFailureProvider
- Parameters:
realm
-RealmModel
userId
-String
Id of the user.
-
removeAllUserLoginFailures
Description copied from interface:UserLoginFailureProvider
Removes all theUserLoginFailureModel
for the given realm.- Specified by:
removeAllUserLoginFailures
in interfaceUserLoginFailureProvider
- Parameters:
realm
-RealmModel
-
close
public void close()
-