Class DefaultAuthTimeLookupFunction

  • All Implemented Interfaces:
    Function<org.opensaml.profile.context.ProfileRequestContext,​Instant>, org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.ProfileRequestContext,​Instant>

    public class DefaultAuthTimeLookupFunction
    extends Object
    implements org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.ProfileRequestContext,​Instant>
    A function that returns auth time via a lookup function. This lookup locates auth time from authentication context. If auth time is not available, null is returned.
    • Constructor Detail

      • DefaultAuthTimeLookupFunction

        public DefaultAuthTimeLookupFunction()
    • Method Detail

      • apply

        @Nullable
        public Instant apply​(@Nullable
                             org.opensaml.profile.context.ProfileRequestContext input)
        Specified by:
        apply in interface Function<org.opensaml.profile.context.ProfileRequestContext,​Instant>