Rob Stryker created JBIDE-26088:
-----------------------------------
Summary: arbitrary folder should not be able to be searched for runtimes
Key: JBIDE-26088
URL:
https://issues.jboss.org/browse/JBIDE-26088
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: stack-server-protocol
Reporter: Rob Stryker
Server currently has following interface / json entry point:
CompletableFuture<List<ServerBean>> findServerBeans(DiscoveryPath path);
However, any arbitrary system path can be searched this way. It'd be better if any
discovery path had to be kept in the model via addDiscoveryPath first, to ensure that the
server isn't somehow restricted from searching various paths.
Of course right now there's no API or configuration file to actually restrict scanning
various folders, but I would imagine that eventually such restrictions would be made such
that the void addDiscoveryPath(DiscoveryPath path); entrypoint could restrict or reject
additions.
I believe [~dgolovin] disagrees with this approach. Please discuss.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)