Funnelback patch 15.6.0.7
-
Released: 2016-09-02
-
Applies to: v15.6.0
Description
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
com.funnelback.publicui.search.web.filters.utils.FilterParameterHandling
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