Class MaxAgeLookupStrategy

java.lang.Object
net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction<Duration>
net.shibboleth.sp.oidc.profile.config.navigate.MaxAgeLookupStrategy
All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,Duration>, org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,Duration>

public class MaxAgeLookupStrategy extends AbstractAgentAndRelyingPartyContextLookupFunction<Duration>
Retrieve the max_age parameter from the DDF if present.

If the parameter is not present in the DDF, the method falls back to using the the relying party profile configuration.

  • Constructor Details

    • MaxAgeLookupStrategy

      public MaxAgeLookupStrategy()
  • Method Details

    • apply

      @Nullable public Duration apply(org.opensaml.messaging.context.MessageContext messageCtx)