Class TwoFactorProperties

java.lang.Object
springboot.bg.harisauto.twofactor.TwoFactorProperties

@Component @ConfigurationProperties(prefix="app.two-factor") public class TwoFactorProperties extends Object
TwoFactorProperties.java - Settings for email two-factor authentication.

Disabled by default on purpose. Two-factor sign-in depends on outbound email working: if SMTP is misconfigured when this is switched on, nobody can complete a sign-in. Turn it on deliberately, once mail delivery has been confirmed in the target environment.

Author:
Kristian Popov
  • Constructor Details

    • TwoFactorProperties

      public TwoFactorProperties()