Class InitializeAuthenticationContext

    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • promptLookupStrategy

        @Nonnull
        private Function<ProfileRequestContext,​com.nimbusds.openid.connect.sdk.Prompt> promptLookupStrategy
        Strategy used to obtain the requested prompt value.
    • Constructor Detail

      • InitializeAuthenticationContext

        public InitializeAuthenticationContext()
        Constructor.
    • Method Detail

      • setPromptLookupStrategy

        public void setPromptLookupStrategy​(@Nonnull
                                            Function<ProfileRequestContext,​com.nimbusds.openid.connect.sdk.Prompt> strategy)
        Set the strategy used to locate the requested prompt.
        Parameters:
        strategy - lookup strategy
      • setLoginHintLookupStrategy

        public void setLoginHintLookupStrategy​(@Nonnull
                                               Function<ProfileRequestContext,​String> strategy)
        Set the strategy used to locate the request login hint.
        Parameters:
        strategy - lookup strategy
      • setMaxAgeLookupStrategy

        public void setMaxAgeLookupStrategy​(@Nonnull
                                            Function<ProfileRequestContext,​Duration> strategy)
        Set the strategy used to locate the request max age.
        Parameters:
        strategy - lookup strategy
      • setForceAuthnPredicate

        public void setForceAuthnPredicate​(@Nonnull
                                           Predicate<ProfileRequestContext> condition)
        Set the predicate to apply to derive the message-independent forced authn default.
        Parameters:
        condition - condition to set
        Since:
        3.1.0