Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-08-02 03:44:29 -0400
committerGreg Wilkins2012-08-02 03:44:29 -0400
commitb63e09df616ffbd68bb59fb46472909b07e0230b (patch)
tree7028be7d538a66cbc76cd8c7845dde1e638d7a61 /jetty-security/src
parentb52930be14eb743de039d1d8614267b2d62c4930 (diff)
downloadorg.eclipse.jetty.project-b63e09df616ffbd68bb59fb46472909b07e0230b.tar.gz
org.eclipse.jetty.project-b63e09df616ffbd68bb59fb46472909b07e0230b.tar.xz
org.eclipse.jetty.project-b63e09df616ffbd68bb59fb46472909b07e0230b.zip
jetty-9 rudimentary connectionFactory impl
Diffstat (limited to 'jetty-security/src')
-rw-r--r--jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java b/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java
index 3757f584a7..1f1204549e 100644
--- a/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java
+++ b/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java
@@ -57,11 +57,12 @@ public class DataConstraintsTest
_server = new Server();
_connector = new LocalConnector(_server);
_connector.setIdleTimeout(300000);
- _connector.getHttpConfig().setIntegralPort(9998);
- _connector.getHttpConfig().setIntegralScheme("FTP");
- _connector.getHttpConfig().setConfidentialPort(9999);
- _connector.getHttpConfig().setConfidentialScheme("SPDY");
- _connectorS = new LocalConnector(_server,new HttpConfiguration(null,false)
+ _connector.getConnectionFactory().getHttpConfig().setIntegralPort(9998);
+ _connector.getConnectionFactory().getHttpConfig().setIntegralScheme("FTP");
+ _connector.getConnectionFactory().getHttpConfig().setConfidentialPort(9999);
+ _connector.getConnectionFactory().getHttpConfig().setConfidentialScheme("SPDY");
+ _connectorS = new LocalConnector(_server,
+ new HttpConfiguration(null,false)
{
@Override
public void customize(Request request) throws IOException
@@ -82,7 +83,7 @@ public class DataConstraintsTest
{
return true;
}
- },null,null,null,null,false,0);
+ });
_server.setConnectors(new Connector[]{_connector,_connectorS});
ContextHandler _context = new ContextHandler();

Back to the top