Package org.keycloak.services.managers
Interface BruteForceProtector
- 
- All Superinterfaces:
- Provider
 - All Known Implementing Classes:
- DefaultBruteForceProtector
 
 public interface BruteForceProtector extends Provider - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDISABLED_BY_PERMANENT_LOCKOUT
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanUpPermanentLockout(KeycloakSession session, RealmModel realm, UserModel user)Clears any remaining traces of the permanent lockout.voidfailedLogin(RealmModel realm, UserModel user, ClientConnection clientConnection)booleanisPermanentlyLockedOut(KeycloakSession session, RealmModel realm, UserModel user)booleanisTemporarilyDisabled(KeycloakSession session, RealmModel realm, UserModel user)voidsuccessfulLogin(RealmModel realm, UserModel user, ClientConnection clientConnection)
 
- 
- 
- 
Field Detail- 
DISABLED_BY_PERMANENT_LOCKOUTstatic final String DISABLED_BY_PERMANENT_LOCKOUT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
failedLoginvoid failedLogin(RealmModel realm, UserModel user, ClientConnection clientConnection) 
 - 
successfulLoginvoid successfulLogin(RealmModel realm, UserModel user, ClientConnection clientConnection) 
 - 
isTemporarilyDisabledboolean isTemporarilyDisabled(KeycloakSession session, RealmModel realm, UserModel user) 
 - 
isPermanentlyLockedOutboolean isPermanentlyLockedOut(KeycloakSession session, RealmModel realm, UserModel user) 
 - 
cleanUpPermanentLockoutvoid cleanUpPermanentLockout(KeycloakSession session, RealmModel realm, UserModel user) Clears any remaining traces of the permanent lockout. Does not enable the user as such!- Parameters:
- session-
- realm-
- user-
 
 
- 
 
-