Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Engine 2.0.2
-
None
Description
Consider the SlingServlet being registered in a servlet container as /somepath and it being called as http://host/somepath, the HttpServletRequest.getPathInfo() will return null and thus the SlingAuthenticator.getAuthenticationInfo method will throw a NullPointerException.
In case of only addressing the Sling servlet, the SlingAuthenticator should assume the / to select the authenticator.
Attachments
Issue Links
- relates to
-
SLING-2998 SlingAuthenticator fails because of pathInfo being null
- Closed
-
SLING-3492 failed authentication when Sling is deployed in an app server
- Closed