Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.keycloak.models.sessions.mem;
 

Author(s):
Stian Thorgersen
 
    private final UsernameLoginFailureEntity entity;
        this. = entity;
    }
    @Override
    public String getUsername() {
        return .getUsername();
    }
    public String getRealm() {
        return .getRealm();
    }
    @Override
    public int getFailedLoginNotBefore() {
        return .getFailedLoginNotBefore().get();
    }
    @Override
    public void setFailedLoginNotBefore(int notBefore) {
        .getFailedLoginNotBefore().set(notBefore);
    }
    @Override
    public int getNumFailures() {
        return .getNumFailures().get();
    }
    @Override
    public void incrementFailures() {
    }
    @Override
    public void clearFailures() {
        .getNumFailures().set(0);
    }
    @Override
    public long getLastFailure() {
        return .getLastFailure().get();
    }
    @Override
    public void setLastFailure(long lastFailure) {
        .getLastFailure().set(lastFailure);
    }
    @Override
    public String getLastIPFailure() {
        return .getLastIpFailure().get();
    }
    @Override
    public void setLastIPFailure(String ip) {
        .getLastIpFailure().set(ip);
    }
New to GrepCode? Check out our FAQ X