Class LoginFailureEntity
java.lang.Object
org.keycloak.models.sessions.infinispan.entities.SessionEntity
org.keycloak.models.sessions.infinispan.entities.LoginFailureEntity
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
int
long
int
int
int
hashCode()
void
setFailedLoginNotBefore
(int failedLoginNotBefore) void
setLastFailure
(long lastFailure) void
setLastIPFailure
(String lastIPFailure) void
setNumFailures
(int numFailures) void
setNumTemporaryLockouts
(int numTemporaryLockouts) toString()
Methods inherited from class org.keycloak.models.sessions.infinispan.entities.SessionEntity
getRealmId, isOffline, mergeRemoteEntityWithLocalEntity, setOffline, setRealmId, shouldEvaluateRemoval
-
Constructor Details
-
LoginFailureEntity
-
-
Method Details
-
getUserId
-
getFailedLoginNotBefore
@ProtoField(3) public int getFailedLoginNotBefore() -
setFailedLoginNotBefore
public void setFailedLoginNotBefore(int failedLoginNotBefore) -
getNumFailures
@ProtoField(4) public int getNumFailures() -
setNumFailures
public void setNumFailures(int numFailures) -
getNumTemporaryLockouts
@ProtoField(5) public int getNumTemporaryLockouts() -
setNumTemporaryLockouts
public void setNumTemporaryLockouts(int numTemporaryLockouts) -
getLastFailure
@ProtoField(6) public long getLastFailure() -
setLastFailure
public void setLastFailure(long lastFailure) -
getLastIPFailure
-
setLastIPFailure
-
clearFailures
public void clearFailures() -
equals
- Specified by:
equals
in classSessionEntity
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSessionEntity
-
toString
-