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

com.netgrif.application.engine.configuration.properties.SecurityLimitsProperties Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.configuration.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.TimeUnit;

@Data
@Configuration
@ConfigurationProperties(prefix = "nae.security.limits")
public class SecurityLimitsProperties {

    private int loginAttempts = 10;

    private int loginTimeout = 10;

    private TimeUnit loginTimeoutUnit = TimeUnit.MINUTES;

    private int emailSendsAttempts = 2;

    private int emailBlockDuration = 1;

    private TimeUnit emailBlockTimeType = TimeUnit.DAYS;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy