Changeset 874 for trunk


Ignore:
Timestamp:
10/15/12 09:30:43 (12 years ago)
Author:
pharms
Message:
  • added example code for HTTPS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorServer.java

    r871 r874  
    5858 
    5959        server = new Server(port); 
     60         
     61        /* 
     62        // the following code can be used to support SSL directly 
     63        server = new Server(); 
     64         
     65        SslSocketConnector connector = new SslSocketConnector(); 
     66        connector.setPort(port); 
     67        connector.setKeystore("data/keystore"); 
     68        connector.setPassword("123456"); 
     69        connector.setKeyPassword("123456"); 
     70        connector.setTruststore("data/keystore"); 
     71        connector.setTrustPassword("123456"); 
     72        server.addConnector(connector);*/ 
     73 
    6074        Context root = new Context(server, "/", Context.SESSIONS); 
    6175 
Note: See TracChangeset for help on using the changeset viewer.