Package org.keycloak.services.managers
Interface BruteForceProtector
- All Superinterfaces:
Provider
- All Known Implementing Classes:
DefaultBlockingBruteForceProtector,DefaultBruteForceProtector
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUpPermanentLockout(KeycloakSession session, RealmModel realm, UserModel user) Clears any remaining traces of the permanent lockout.voidfailedLogin(RealmModel realm, UserModel user, ClientConnection clientConnection, jakarta.ws.rs.core.UriInfo uriInfo, Set<String> authenticationCategory) booleanisPermanentlyLockedOut(KeycloakSession session, RealmModel realm, UserModel user) booleanisTemporarilyDisabled(KeycloakSession session, RealmModel realm, UserModel user) voidsuccessfulLogin(RealmModel realm, UserModel user, ClientConnection clientConnection, jakarta.ws.rs.core.UriInfo uriInfo, Set<String> authenticationCategories)
-
Field Details
-
DISABLED_BY_PERMANENT_LOCKOUT
- See Also:
-
-
Method Details
-
failedLogin
void failedLogin(RealmModel realm, UserModel user, ClientConnection clientConnection, jakarta.ws.rs.core.UriInfo uriInfo, Set<String> authenticationCategory) -
successfulLogin
void successfulLogin(RealmModel realm, UserModel user, ClientConnection clientConnection, jakarta.ws.rs.core.UriInfo uriInfo, Set<String> authenticationCategories) -
isTemporarilyDisabled
-
isPermanentlyLockedOut
-
cleanUpPermanentLockout
Clears any remaining traces of the permanent lockout. Does not enable the user as such!- Parameters:
session-realm-user-
-