Package org.keycloak.models
Interface UserLoginFailureProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
InfinispanUserLoginFailureProvider
,RemoteUserLoginFailureProvider
- Author:
- Martin Kanis
-
Method Summary
Modifier and TypeMethodDescriptionaddUserLoginFailure
(RealmModel realm, String userId) Adds aUserLoginFailureModel
for the given realm and user id.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.
-
Method Details
-
getUserLoginFailure
Returns theUserLoginFailureModel
for the given realm and user id.- Parameters:
realm
-RealmModel
userId
-String
Id of the user.- Returns:
- Returns the
UserLoginFailureModel
for the given realm and user id.
-
addUserLoginFailure
Adds aUserLoginFailureModel
for the given realm and user id.- Parameters:
realm
-RealmModel
userId
-String
Id of the user.- Returns:
- Returns newly created
UserLoginFailureModel
.
-
removeUserLoginFailure
Removes aUserLoginFailureModel
for the given realm and user id.- Parameters:
realm
-RealmModel
userId
-String
Id of the user.
-
removeAllUserLoginFailures
Removes all theUserLoginFailureModel
for the given realm.- Parameters:
realm
-RealmModel
-