Class SelectSubjectCanonicalizationFlow

    • Field Detail

      • log

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

      • SelectSubjectCanonicalizationFlow

        public SelectSubjectCanonicalizationFlow()
    • Method Detail

      • doPreExecute

        protected boolean doPreExecute​(@Nonnull
                                       ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       SubjectCanonicalizationContext c14nContext)
        Performs this c14n action's pre-execute step. Default implementation just returns true iff a subject is set.
        Overrides:
        doPreExecute in class AbstractSubjectCanonicalizationAction
        Parameters:
        profileRequestContext - the current IdP profile request context
        c14nContext - the current subject canonicalization context
        Returns:
        true iff execution should continue
      • selectUnattemptedFlow

        @Nullable
        private SubjectCanonicalizationFlowDescriptor selectUnattemptedFlow​(@Nonnull
                                                                            ProfileRequestContext profileRequestContext,
                                                                            @Nonnull
                                                                            SubjectCanonicalizationContext c14nContext)
        Select the first potential flow not found in the intermediate flows collection, and that is applicable to the context.
        Parameters:
        profileRequestContext - the current IdP profile request context
        c14nContext - the current c14n context
        Returns:
        an eligible flow, or null