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

Add support for authentication/authorization methods in servlet request API

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Engine 2.0.4
    • Component/s: Engine
    • Labels:
      None

      Description

      Although SlingAuthenticator does populate some authentication state in the request, it does so in an non-portable way (from a Servlet API perspective). For example, it sets the remote user identifier as a request attribute whereas one familiar with the Servlet API would expect to obtain it by calling getRemoteUser().

        Attachments

        1. SlingHttpServletRequestImpl.java-2.patch
          3 kB
          Christopher Elkins
        2. SlingHttpServletRequestImpl.java.patch
          4 kB
          Christopher Elkins

          Activity

            People

            • Assignee:
              fmeschbe Felix Meschberger
              Reporter:
              celkins Christopher Elkins
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: