super(port, path);
}
protected Connector getConnector(int port) {
Properties properties = StartupProperties.get();
SslSocketConnector connector = new SslSocketConnector();
connector.setPort(port);
connector.setHost("0.0.0.0");
connector.setKeystore(properties.getProperty("keystore.file",
System.getProperty("keystore.file", "conf/prism.keystore")));
connector.setKeyPassword(properties.getProperty("keystore.password",
System.getProperty("keystore.password", "falcon-prism-passwd")));
connector.setTruststore(properties.getProperty("truststore.file",
System.getProperty("truststore.file", "conf/prism.keystore")));
connector.setTrustPassword(properties.getProperty("truststore.password",
System.getProperty("truststore.password", "falcon-prism-passwd")));
connector.setPassword(properties.getProperty("password",
System.getProperty("password", "falcon-prism-passwd")));
connector.setWantClientAuth(true);
return connector;
}