Class MapUserLoginFailureAdapter
java.lang.Object
org.keycloak.models.map.loginFailure.AbstractUserLoginFailureModel<MapUserLoginFailureEntity>
org.keycloak.models.map.loginFailure.MapUserLoginFailureAdapter
- All Implemented Interfaces:
UserLoginFailureModel
public class MapUserLoginFailureAdapter
extends AbstractUserLoginFailureModel<MapUserLoginFailureEntity>
- Author:
- Martin Kanis
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.UserLoginFailureModel
UserLoginFailureModel.SearchableFields
-
Field Summary
Fields inherited from class org.keycloak.models.map.loginFailure.AbstractUserLoginFailureModel
entity, realm, session
-
Constructor Summary
ConstructorDescriptionMapUserLoginFailureAdapter
(KeycloakSession session, RealmModel realm, MapUserLoginFailureEntity entity) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getId()
long
int
void
void
setFailedLoginNotBefore
(int notBefore) void
setLastFailure
(long lastFailure) void
toString()
Methods inherited from class org.keycloak.models.map.loginFailure.AbstractUserLoginFailureModel
equals, hashCode
-
Constructor Details
-
MapUserLoginFailureAdapter
public MapUserLoginFailureAdapter(KeycloakSession session, RealmModel realm, MapUserLoginFailureEntity entity)
-
-
Method Details
-
getId
-
getUserId
-
getFailedLoginNotBefore
public int getFailedLoginNotBefore() -
setFailedLoginNotBefore
public void setFailedLoginNotBefore(int notBefore) -
getNumFailures
public int getNumFailures() -
incrementFailures
public void incrementFailures() -
clearFailures
public void clearFailures() -
getLastFailure
public long getLastFailure() -
setLastFailure
public void setLastFailure(long lastFailure) -
getLastIPFailure
-
setLastIPFailure
-
toString
-