Class ScriptedPredicate

  • All Implemented Interfaces:
    Predicate<org.opensaml.profile.context.ProfileRequestContext>, net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.profile.context.ProfileRequestContext>

    public class ScriptedPredicate
    extends net.shibboleth.utilities.java.support.logic.ScriptedPredicate<org.opensaml.profile.context.ProfileRequestContext>
    A Predicate which calls out to a supplied script.
    • Field Detail

      • log

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

      • ScriptedPredicate

        public ScriptedPredicate​(@Nonnull @NotEmpty @ParameterName(name="theScript")
                                 net.shibboleth.utilities.java.support.scripting.EvaluableScript theScript,
                                 @Nullable @NotEmpty @ParameterName(name="extraInfo")
                                 String extraInfo)
        Constructor.
        Parameters:
        theScript - the script we will evaluate.
        extraInfo - debugging information.
      • ScriptedPredicate

        public ScriptedPredicate​(@Nonnull @NotEmpty @ParameterName(name="theScript")
                                 net.shibboleth.utilities.java.support.scripting.EvaluableScript theScript)
        Constructor.
        Parameters:
        theScript - the script we will evaluate.