Class SpringEventToViewLookupFunction

java.lang.Object
net.shibboleth.idp.profile.context.navigate.SpringEventToViewLookupFunction
All Implemented Interfaces:
Function<Event,String>

public class SpringEventToViewLookupFunction extends Object implements Function<Event,String>
A function that returns a view name to render based on a Spring Web Flow Event.
  • Field Details

  • Constructor Details

    • SpringEventToViewLookupFunction

      public SpringEventToViewLookupFunction()
      Constructor.
  • Method Details

    • setDefaultView

      public void setDefaultView(@Nullable String view)
      Set the default view name.
      Parameters:
      view - default view name
    • setEventMap

      public void setEventMap(@Nonnull @NonnullElements Map<String,String> map)
      Set the map of event IDs to view names.
      Parameters:
      map - map to use
    • apply

      @Nullable public String apply(@Nullable Event input)
      Specified by:
      apply in interface Function<Event,String>