Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2644

Make the jackrabbit/accessmanager and jackrabbit/usermanager to work with newer servlets/post bundle

    XMLWordPrintableJSON

Details

    Description

      With SLING-1725 the package of JSONResponse was changed from
      org.apache.sling.servlets.post.impl.helper
      to
      org.apache.sling.servlets.post

      This change was ignored in the jackrabbit/accessmanager and jackrabbit/usermanager, which imports org.apache.sling.servlets.post.impl.helper.JSONResponse till now and uses the org.apache.sling.servlets.post version 2.1.0. To use the newer version 2.1.2 some changes have to be done

      The "old" JSONResponse extended HtmlResponse, which is deprecated by now.

      To use the "new" JSONResponse which does not extend HtmlResponse anymore different classes in the accessmanager and usermanager packages have to be changed (protected method signatures).

      Attachments

        1. patch.txt
          36 kB
          Mike Müller
        2. patch.txt
          35 kB
          Mike Müller

        Activity

          People

            mykee Mike Müller
            mykee Mike Müller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: