Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26088

arbitrary folder should not be able to be searched for runtimes

XMLWordPrintable

      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 nivologd@gmail.com disagrees with this approach. Please discuss.

            rob.stryker Rob Stryker (Inactive)
            rob.stryker Rob Stryker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: