@Test
public void testGetSimpleAuthDisabledConfiguration() throws ServletException {

  AuthFilter filter = new AuthFilter();
  Map<String, String> m = new HashMap<String,String>();
  m.put(DFSConfigKeys.DFS_WEB_AUTHENTICATION_SIMPLE_ANONYMOUS_ALLOWED,
      "false");
  FilterConfig config = new DummyFilterConfig(m);
  Properties p = filter.getConfiguration("random", config);
  Assert.assertEquals("false",
      p.getProperty(PseudoAuthenticationHandler.ANONYMOUS_ALLOWED));
}