Class TimeBasedAuthenticationProperties

java.lang.Object
org.apereo.cas.configuration.model.core.authentication.TimeBasedAuthenticationProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-core-authentication", automated=true) public class TimeBasedAuthenticationProperties extends Object implements Serializable
Since:
5.2.0
See Also:
  • Constructor Details

    • TimeBasedAuthenticationProperties

      public TimeBasedAuthenticationProperties()
  • Method Details

    • getProviderId

      public String getProviderId()
      The mfa provider id that should be triggered.
    • getOnOrAfterHour

      public long getOnOrAfterHour()
      Trigger mfa after this hour, specified in 24-hour format.
    • getOnOrBeforeHour

      public long getOnOrBeforeHour()
      Trigger mfa before this hour, specified in 24-hour format.
    • getOnDays

      public List<String> getOnDays()
      Trigger mfa on the following days of the week.
    • setProviderId

      public TimeBasedAuthenticationProperties setProviderId(String providerId)
      The mfa provider id that should be triggered.
      Returns:
      this.
    • setOnOrAfterHour

      public TimeBasedAuthenticationProperties setOnOrAfterHour(long onOrAfterHour)
      Trigger mfa after this hour, specified in 24-hour format.
      Returns:
      this.
    • setOnOrBeforeHour

      public TimeBasedAuthenticationProperties setOnOrBeforeHour(long onOrBeforeHour)
      Trigger mfa before this hour, specified in 24-hour format.
      Returns:
      this.
    • setOnDays

      public TimeBasedAuthenticationProperties setOnDays(List<String> onDays)
      Trigger mfa on the following days of the week.
      Returns:
      this.