Class BruteForceProtectionProperties

java.lang.Object
io.jmix.security.BruteForceProtectionProperties

@ConfigurationProperties(prefix="jmix.security.bruteforceprotection") public class BruteForceProtectionProperties extends Object
  • Constructor Details

    • BruteForceProtectionProperties

      public BruteForceProtectionProperties(@DefaultValue("false") boolean enabled, @DurationUnit(SECONDS) @DefaultValue("60") Duration blockInterval, @DefaultValue("5") int maxLoginAttemptsNumber)
  • Method Details

    • getBlockInterval

      public Duration getBlockInterval()
      See Also:
      • blockInterval
    • isEnabled

      public boolean isEnabled()
      See Also:
      • enabled
    • getMaxLoginAttemptsNumber

      public int getMaxLoginAttemptsNumber()
      See Also:
      • maxLoginAttemptsNumber