@Test public void testAuthenticationAnonymousDisallowedWithPost() throws Exception { setAuthenticationHandlerConfig(getAuthenticationHandlerConfiguration(false)); _testAuthentication(new PseudoAuthenticator(), true); }
@Test public void testAuthenticationAnonymousAllowed() throws Exception { setAuthenticationHandlerConfig(getAuthenticationHandlerConfiguration(true)); _testAuthentication(new PseudoAuthenticator(), false); }