Class SpringExpressionContextLookupFunction<T extends BaseContext,​U>

java.lang.Object
net.shibboleth.ext.spring.util.AbstractSpringExpressionEvaluatorEx
net.shibboleth.ext.spring.util.SpringExpressionFunction<T,​U>
net.shibboleth.idp.profile.context.navigate.SpringExpressionContextLookupFunction<T,​U>
Type Parameters:
T - the specific type of context
U - output type
All Implemented Interfaces:
Function<T,​U>, ContextDataLookupFunction<T,​U>

public class SpringExpressionContextLookupFunction<T extends BaseContext,​U>
extends SpringExpressionFunction<T,​U>
implements ContextDataLookupFunction<T,​U>
A Function over a BaseContext which calls out to a Spring Expression.
Since:
3.3.0
  • Constructor Details

    • SpringExpressionContextLookupFunction

      public SpringExpressionContextLookupFunction​(@Nonnull @ParameterName(name="inClass") Class<T> inClass, @Nonnull @NotEmpty @ParameterName(name="expression") String expression)
      Constructor.
      Parameters:
      inClass - the class we accept as input.
      expression - the expression to evaluate.
    • SpringExpressionContextLookupFunction

      public SpringExpressionContextLookupFunction​(@Nonnull @ParameterName(name="inClass") Class<T> inClass, @Nonnull @NotEmpty @ParameterName(name="expression") String expression, @ParameterName(name="outputType") @Nullable Class<U> outputType)
      Constructor.
      Parameters:
      inClass - the class we accept as input.
      expression - the expression to evaluate.
      outputType - the type to test against.