Package io.jmix.security
Class BruteForceProtectionProperties
java.lang.Object
io.jmix.security.BruteForceProtectionProperties
@ConfigurationProperties(prefix="jmix.security.bruteforceprotection")
public class BruteForceProtectionProperties
extends Object
-
Constructor Summary
ConstructorDescriptionBruteForceProtectionProperties
(boolean enabled, Duration blockInterval, int maxLoginAttemptsNumber) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
-
Constructor Details
-
BruteForceProtectionProperties
-
-
Method Details
-
getBlockInterval
- See Also:
-
blockInterval
-
isEnabled
public boolean isEnabled()- See Also:
-
enabled
-
getMaxLoginAttemptsNumber
public int getMaxLoginAttemptsNumber()- See Also:
-
maxLoginAttemptsNumber
-