Ejemplo n.º 1
0
 @Test
 public void testAuthenticationAnonymousDisallowedWithPost() throws Exception {
   setAuthenticationHandlerConfig(getAuthenticationHandlerConfiguration(false));
   _testAuthentication(new PseudoAuthenticator(), true);
 }
Ejemplo n.º 2
0
 @Test
 public void testAuthenticationAnonymousAllowed() throws Exception {
   setAuthenticationHandlerConfig(getAuthenticationHandlerConfiguration(true));
   _testAuthentication(new PseudoAuthenticator(), false);
 }