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
Constructors Constructor Description MapUserLoginFailureAdapter(KeycloakSession session, RealmModel realm, MapUserLoginFailureEntity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearFailures()
int
getFailedLoginNotBefore()
String
getId()
long
getLastFailure()
String
getLastIPFailure()
int
getNumFailures()
String
getUserId()
void
incrementFailures()
void
setFailedLoginNotBefore(int notBefore)
void
setLastFailure(long lastFailure)
void
setLastIPFailure(String ip)
String
toString()
-
Methods inherited from class org.keycloak.models.map.loginFailure.AbstractUserLoginFailureModel
equals, hashCode
-
-
-
-
Constructor Detail
-
MapUserLoginFailureAdapter
public MapUserLoginFailureAdapter(KeycloakSession session, RealmModel realm, MapUserLoginFailureEntity entity)
-
-
Method Detail
-
getId
public String getId()
-
getUserId
public String 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
public String getLastIPFailure()
-
setLastIPFailure
public void setLastIPFailure(String ip)
-
-