From 3920146bf0e1ec2323c588a17b05e0e74a4755f6 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Mon, 15 Oct 2012 16:06:07 +1100 Subject: [PATCH] Remove printlns --- test-jetty-webapp/src/main/java/com/acme/TestListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-jetty-webapp/src/main/java/com/acme/TestListener.java b/test-jetty-webapp/src/main/java/com/acme/TestListener.java index cf950edb7da..02674b48820 100644 --- a/test-jetty-webapp/src/main/java/com/acme/TestListener.java +++ b/test-jetty-webapp/src/main/java/com/acme/TestListener.java @@ -79,14 +79,14 @@ public class TestListener implements HttpSessionListener, HttpSessionAttributeL ServletSecurity.TransportGuarantee.NONE, new String[]{"admin"}); ServletSecurityElement securityElement = new ServletSecurityElement(constraintElement, null); Set unchanged = rego.setServletSecurity(securityElement); - System.err.println("Security constraints registered: "+unchanged.isEmpty()); + //System.err.println("Security constraints registered: "+unchanged.isEmpty()); //Test that a security constraint from web.xml can't be overridden programmatically ServletRegistration.Dynamic rego2 = sce.getServletContext().addServlet("RegoTest2", RegTest.class.getName()); rego2.addMapping("/rego2/*"); securityElement = new ServletSecurityElement(constraintElement, null); unchanged = rego2.setServletSecurity(securityElement); - System.err.println("Overridding web.xml constraints not possible:" +!unchanged.isEmpty()); + //System.err.println("Overridding web.xml constraints not possible:" +!unchanged.isEmpty()); /* For servlet 3.0 */ FilterRegistration.Dynamic registration = sce.getServletContext().addFilter("TestFilter",TestFilter.class.getName());