All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.authing.sdk.java.dto.LoginPassowrdFailCheckConfigDto Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package cn.authing.sdk.java.dto;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;


public class LoginPassowrdFailCheckConfigDto {
    /**
     * 是否开启登录密码错误限制
     */
    @JsonProperty("enabled")
    private Boolean enabled;
    /**
     * 密码错误次数最大限制
     */
    @JsonProperty("limit")
    private Integer limit;
    /**
     * 限定周期时间长度,单位为秒。
     */
    @JsonProperty("timeInterval")
    private Integer timeInterval;
    /**
     * 时间长度单位。Second/Minute/Hour/Day,仅仅做显示,timeInterval的单位还是秒
     */
    @JsonProperty("unit")
    private String unit;

    public Boolean getEnabled() {
        return enabled;
    }
    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getLimit() {
        return limit;
    }
    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getTimeInterval() {
        return timeInterval;
    }
    public void setTimeInterval(Integer timeInterval) {
        this.timeInterval = timeInterval;
    }

    public String getUnit() {
        return unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy