Uploaded image for project: 'atlassian-seraph'
  1. atlassian-seraph
  2. SER-58

Being able to register more path mappings at runtime

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • true

      I would like to be able to register more path mappings in the PathService, in order to have a plugins-based system (say, Tonic or similar) be able to deploy plugins which require protecting some URLs that are not protected by the main application. (Like, for instance, if I'm adding webwork actions/packages)

      Here's a patch that should allow this, by simply exposing the following methods:
      public void registerPathMappings(URL fileUrl) throws ParserConfigurationException, IOException, SAXException
      public void registerPathMappings(InputStream inputStream) throws ParserConfigurationException, IOException, SAXException
      public void registerPathMappings(Document doc)

      Please tell me what you think

              Unassigned Unassigned
              6b4b1b72e35c Grégory Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                19 years, 2 days ago