Class LoginFailureEntity
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.entities.SessionEntity
-
- org.keycloak.models.sessions.infinispan.entities.LoginFailureEntity
-
- All Implemented Interfaces:
Serializable
@SerializeWith(ExternalizerImpl.class) public class LoginFailureEntity extends SessionEntity
- Author:
- Stian Thorgersen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoginFailureEntity.ExternalizerImpl
-
Constructor Summary
Constructors Constructor Description LoginFailureEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearFailures()
boolean
equals(Object o)
int
getFailedLoginNotBefore()
long
getLastFailure()
String
getLastIPFailure()
int
getNumFailures()
String
getUserId()
int
hashCode()
void
setFailedLoginNotBefore(int failedLoginNotBefore)
void
setLastFailure(long lastFailure)
void
setLastIPFailure(String lastIPFailure)
void
setNumFailures(int numFailures)
void
setUserId(String userId)
String
toString()
-
Methods inherited from class org.keycloak.models.sessions.infinispan.entities.SessionEntity
getRealmId, mergeRemoteEntityWithLocalEntity, setRealmId
-
-
-
-
Method Detail
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getFailedLoginNotBefore
public int getFailedLoginNotBefore()
-
setFailedLoginNotBefore
public void setFailedLoginNotBefore(int failedLoginNotBefore)
-
getNumFailures
public int getNumFailures()
-
setNumFailures
public void setNumFailures(int numFailures)
-
getLastFailure
public long getLastFailure()
-
setLastFailure
public void setLastFailure(long lastFailure)
-
getLastIPFailure
public String getLastIPFailure()
-
setLastIPFailure
public void setLastIPFailure(String lastIPFailure)
-
clearFailures
public void clearFailures()
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classSessionEntity
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classSessionEntity
-
-