NullPotinerException trying to authenticate when requesting the
SlingMainServlet directly
-----------------------------------------------------------------------------------------
Key: SLING-722
URL: https://issues.apache.org/jira/browse/SLING-722
Project: Sling
Issue Type: Bug
Components: Engine
Affects Versions: Engine 2.0.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: Engine 2.0.4
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.