Class MaxAgeLookupFunction

    • Field Detail

      • maxAgeDefault

        private final Duration maxAgeDefault
        Default max authentication age if none can be found on the profile context.
      • authenticationRequestLookupStrategy

        @Nonnull
        private Function<ProfileRequestContext,​net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest> authenticationRequestLookupStrategy
        Strategy used to locate the OIDCAuthenticationRequest. Defaults to the outbound message context of the PRC.
    • Constructor Detail

      • MaxAgeLookupFunction

        public MaxAgeLookupFunction​(@ParameterName(name="maxAgeDefault") @Nonnull
                                    Duration defaultAge)
        Constructor.
        Parameters:
        defaultAge - the default value to use for maximum authentication age
    • Method Detail

      • setAuthenticationRequestLookupStrategy

        public void setAuthenticationRequestLookupStrategy​(@Nonnull
                                                           Function<ProfileRequestContext,​net.shibboleth.oidc.profile.core.OIDCAuthenticationRequest> strategy)
        Set the authentication request lookup strategy to use.
        Parameters:
        strategy - the strategy