Class ScriptedMatcher.MatcherScriptEvaluator
java.lang.Object
net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
net.shibboleth.idp.attribute.filter.matcher.impl.ScriptedMatcher.MatcherScriptEvaluator
- Enclosing class:
- ScriptedMatcher
Evaluator bound to the Matcher semantic.
-
Field Summary
Fields inherited from class net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
DEFAULT_ENGINE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(IdPAttribute attribute, AttributeFilterContext filterContext) Execution hook.protected void
prepareContext
(ScriptContext scriptContext, Object... input) Methods inherited from class net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator
evaluate, finalizeContext, getCustomObject, getHideExceptions, getLogPrefix, getOutputType, getReturnOnError, setCustomObject, setHideExceptions, setLogPrefix, setOutputType, setReturnOnError
-
Constructor Details
-
MatcherScriptEvaluator
Constructor.- Parameters:
theScript
- the script we will evaluate.
-
-
Method Details
-
execute
@Nullable @NonnullElements @Unmodifiable public Set<IdPAttributeValue> execute(@Nonnull IdPAttribute attribute, @Nonnull AttributeFilterContext filterContext) Execution hook.- Parameters:
attribute
- attribute to be filteredfilterContext
- filter context- Returns:
- script result
-
prepareContext
- Specified by:
prepareContext
in classAbstractScriptEvaluator
-