private List<HttpRequestFilter> filters;
@Override
protected void inject(ObjectGraph dagger, FilterConfig filterConfig) throws ServletException {
IRuntimeManager runtimeManager = dagger.get(IRuntimeManager.class);
IPluginManager pluginManager = dagger.get(IPluginManager.class);
filters = pluginManager.getExtensions(HttpRequestFilter.class);
for (HttpRequestFilter f : filters) {
// wrap the filter config for Gitblit settings retrieval
PluginWrapper pluginWrapper = pluginManager.whichPlugin(f.getClass());
FilterConfig runtimeConfig = new FilterRuntimeConfig(runtimeManager,
pluginWrapper.getPluginId(), filterConfig);
f.init(runtimeConfig);
}