Funnelback patch

  • Released: 2016-09-02

  • Applies to: v15.6.0


Applies the custom servlet filter functionality to push-api requests as well as public-ui ones. This allows additional push requests to be manipulated before Funnelback processes them, and output to be captured for audit logging or other purposes.

link:/funnelback/archive/15.6/custom_servlet_filter_hook.html documents the general mechanism, however this patch changes some details, in particular:

  • The GroovyServletFilterHook class has moved to com.funnelback.springmvc.web.filter.GroovyServletFilterHook allowing it to be shared

  • The hook class now defines an additional public ServletResponse preFilterRequest(ServletRequest request) method

  • The class should no longer be used (will be unavailable in 15.8)

To use the mechanism with the push-api, a suitable groovy script must be created at $SEARCH_HOME/conf/$COLLECTION_NAME/GroovyServletFilterHookPushImpl.groovy

Affected files

  • web/webapps/funnelback-publicui.war: Account for relocated GroovyServletFilterHook interface.

  • web/webapps/funnelback-push-api.war: Run GroovyServletFilter on push-api requests.


  • Stop the jetty web server.

  • Deploy the provided files on top of an existing install.

  • As patches are cumulative, apply deployment instructions from previous patches.

  • Start the jetty web server.