Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3222

Allow servlet filters to specify custom session providers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.4
    • jackrabbit-jcr-server
    • None

    Description

      In order to integrate the Jackrabbit davex server functionality with their custom authentication logic, the Sling project currently needs to embed and subclass the davex servlet classes. It would be cleaner if such tight coupling wasn't needed.

      One way to achieve something like that would be to allow external components to provide a custom SessionProvider instance as an extra request attribute. This way for example a servlet filter that implements such custom authentication logic could easily make its functionality available to the standard davex servlet in Jackrabbit.

      Attachments

        1. 0001-JCR-3222-Allow-servlet-filters-to-specify-custom-ses.patch
          7 kB
          Jukka Zitting
        2. jackrabbit-jcr-server-2.6-SNAPSHOT.jar
          322 kB
          Jukka Zitting
        3. JCR-3222-fmeschbe.patch
          4 kB
          Felix Meschberger

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: