import org.bubblecloud.ilves.util.PropertiesUtil; //导入方法依赖的package包/类
/**
* Constructs Jetty server.
* @param httpPort the HTTP port
* @param httpsPort the HTTPS port
* @param requestClientAuthentication true if client authentication is to be requested
* @param requireClientAuthentication true if client authentication is required
* @return the Jetty server
* @throws IOException if SSL context factory creation fails.
*/
public static Server newServer(
final int httpPort,
final int httpsPort,
final boolean requestClientAuthentication,
final boolean requireClientAuthentication) throws IOException {
UserClientCertificateCache.init(DefaultSiteUI.getEntityManagerFactory());
final String keyStorePath = PropertiesUtil.getProperty("site", "key-store-path");
f