Class PopulateDuoAuthenticationContext.DefaultMaxAuthenticationAgeLookupStrategy

java.lang.Object
net.shibboleth.idp.plugin.authn.duo.impl.PopulateDuoAuthenticationContext.DefaultMaxAuthenticationAgeLookupStrategy
All Implemented Interfaces:
Function<ProfileRequestContext,Duration>
Enclosing class:
PopulateDuoAuthenticationContext

public static class PopulateDuoAuthenticationContext.DefaultMaxAuthenticationAgeLookupStrategy extends Object implements Function<ProfileRequestContext,Duration>
Default strategy that determines the effective maximum authentication age requirement.

The following rules apply:

  1. If the integration specifies a maximum authentication age, that value is used.
  2. Otherwise, if force authentication has been requested, the user is required to re-authenticate by setting max_age=0.
  3. Otherwise, if a maximum authentication age is present on the authentication context, that value is used.
  4. Otherwise, no maximum authentication age requirement is applied.