@Test public void shouldGetOtherInitParameter() { given(wrappedFilterConfig.getInitParameter("other")).willReturn("OTHER"); String initParam = filterConfig.getInitParameter("other"); assertEquals(initParam, "OTHER"); }
public String getInitParameter(String name) { if (INIT_PARAM_AUTHZ_CONFIGURATOR.equals(name)) { return authzConfiguratorClassName; } return filterConfig.getInitParameter(name); }
RestAuthorizationDispatcherFilterConfig implements FilterConfig { public String getInitParameter(String name) { if (INIT_PARAM_AUTHZ_CONFIGURATOR.equals(name)) { return authzConfiguratorClassName; } return filterConfig.getInitParameter(name); } }
RestAuthorizationDispatcherFilterConfig implements FilterConfig { public String getInitParameter(String name) { if (INIT_PARAM_AUTHZ_CONFIGURATOR.equals(name)) { return authzConfiguratorClassName; } return filterConfig.getInitParameter(name); } RestAuthorizationDispatcherFilterConfig(final FilterConfig filterConfig,
            final String authzConfiguratorClassName); }
RestAuthorizationDispatcherFilterConfig implements FilterConfig { public String getInitParameter(String name) { if (INIT_PARAM_AUTHZ_CONFIGURATOR.equals(name)) { return authzConfiguratorClassName; } return filterConfig.getInitParameter(name); } RestAuthorizationDispatcherFilterConfig(final FilterConfig filterConfig,
            final String authzConfiguratorClassName); String getFilterName(); ServletContext getServletContext(); String getInitParameter(String name); @SuppressWarnings("unchecked") Enumeration<String> getInitParameterNames(); }
RestAuthorizationDispatcherFilterConfig implements FilterConfig { public String getInitParameter(String name) { if (INIT_PARAM_AUTHZ_CONFIGURATOR.equals(name)) { return authzConfiguratorClassName; } return filterConfig.getInitParameter(name); } RestAuthorizationDispatcherFilterConfig(final FilterConfig filterConfig,
            final String authzConfiguratorClassName); String getFilterName(); ServletContext getServletContext(); String getInitParameter(String name); @SuppressWarnings("unchecked") Enumeration<String> getInitParameterNames();  }