Class LoginFailureEntity

java.lang.Object
org.keycloak.models.sessions.infinispan.entities.SessionEntity
org.keycloak.models.sessions.infinispan.entities.LoginFailureEntity

@ProtoTypeId(65598) @Indexed public class LoginFailureEntity extends SessionEntity
Author:
Stian Thorgersen
  • Constructor Details

    • LoginFailureEntity

      public LoginFailureEntity(String realmId, String userId)
  • Method Details

    • getUserId

      @ProtoField(2) public String 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

      @ProtoField(7) public String getLastIPFailure()
    • setLastIPFailure

      public void setLastIPFailure(String lastIPFailure)
    • clearFailures

      public void clearFailures()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class SessionEntity
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class SessionEntity
    • toString

      public String toString()
      Overrides:
      toString in class Object