Class X500SubjectCanonicalization.ActivationCondition

  • All Implemented Interfaces:
    Predicate<org.opensaml.profile.context.ProfileRequestContext>
    Enclosing class:
    X500SubjectCanonicalization

    public static class X500SubjectCanonicalization.ActivationCondition
    extends Object
    implements Predicate<org.opensaml.profile.context.ProfileRequestContext>
    A predicate that determines if this action can run or not.
    • Constructor Detail

      • ActivationCondition

        public ActivationCondition()
    • Method Detail

      • test

        public boolean test​(@Nullable
                            org.opensaml.profile.context.ProfileRequestContext input)
        Specified by:
        test in interface Predicate<org.opensaml.profile.context.ProfileRequestContext>
      • apply

        public boolean apply​(@Nonnull
                             org.opensaml.profile.context.ProfileRequestContext profileRequestContext,
                             @Nonnull
                             net.shibboleth.idp.authn.context.SubjectCanonicalizationContext c14nContext,
                             boolean duringAction)
        Helper method that runs either as part of the Predicate or directly from the X500SubjectCanonicalization.doPreExecute(ProfileRequestContext, SubjectCanonicalizationContext) method above.
        Parameters:
        profileRequestContext - the current profile request context
        c14nContext - the current c14n context
        duringAction - true iff the method is run from the action above
        Returns:
        true iff the action can operate successfully on the candidate contexts