Created
October 27, 2024 02:43
-
-
Save guaracyalima/77a50aca1877b077a2c84ccb60e29256 to your computer and use it in GitHub Desktop.
SecurityConfigProperties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component | |
@ConfigurationProperties(prefix = "security.config") | |
@Data | |
public class SecurityConfigProperties{ | |
private int maxLoginAttempts; | |
private int sessionTimeOut; | |
private boolean enableTwoFactor; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment