[
https://issues.apache.org/jira/browse/SLING-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Elkins updated SLING-599:
-------------------------------------
Attachment: SlingHttpServletRequestImpl.java.patch
Adds support for authentication/authorization methods in HttpServletRequest by
adapting the attributes prescribed by HttpContext and set by SlingAuthenticator.
Note: The UserPrincipal class was borrowed as-is from
<http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/UserPrincipal.java>.
> Add support for authentication/authorization methods in servlet request API
> ---------------------------------------------------------------------------
>
> Key: SLING-599
> URL: https://issues.apache.org/jira/browse/SLING-599
> Project: Sling
> Issue Type: Improvement
> Components: Engine
> Reporter: Christopher Elkins
> Priority: Minor
> Attachments: SlingHttpServletRequestImpl.java.patch
>
>
> 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().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.