/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.identity.LogonInfo
 *  com.l7tech.util.Functions$UnaryVoid
 */
package com.l7tech.server.logon;

import com.l7tech.identity.LogonInfo;
import com.l7tech.server.identity.AuthenticationResult;
import com.l7tech.server.logon.SSMLogonService;
import com.l7tech.util.Functions;

class c
implements Functions.UnaryVoid<LogonInfo> {
    final AuthenticationResult val$ar;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    c(SSMLogonService sSMLogonService, AuthenticationResult authenticationResult) {
        this.val$ar = authenticationResult;
    }

    public void call(LogonInfo logonInfo) {
        long l2 = System.currentTimeMillis();
        if (this.val$ar != null) {
            logonInfo.resetFailCount(l2);
        } else {
            logonInfo.failLogonAttempt(l2);
        }
    }
}

