use of org.sonar.process.PluginSecurityManager in project sonarqube by SonarSource.
the class CeServer method main.
/**
* Can't be started as is. Needs to be bootstrapped by sonar-application
*/
public static void main(String[] args) {
ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
Props props = entryPoint.getProps();
new CeProcessLogging().configure(props);
CeServer server = new CeServer(new ComputeEngineImpl(props, new ComputeEngineContainerImpl()), new MinimumViableSystem(), new CeSecurityManager(new PluginSecurityManager(), props));
entryPoint.launch(server);
}
use of org.sonar.process.PluginSecurityManager in project sonarqube by SonarSource.
the class WebServer method main.
/**
* Can't be started as is. Needs to be bootstrapped by sonar-application
*/
public static void main(String[] args) {
ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
Props props = entryPoint.getProps();
new WebServerProcessLogging().configure(props);
new WebSecurityManager(new PluginSecurityManager(), props).apply();
WebServer server = new WebServer(props);
entryPoint.launch(server);
}
Aggregations