[
https://issues.apache.org/jira/browse/SLING-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-1706.
--------------------------------------
Resolution: Fixed
Added support for the authType property of the sessionInfo in Rev. 990791.
The property is not set if the request is not authenticated. Otherwise the
property contains a string indicating the type of authentication used for the
request.
> Add authentication type info to the result of the SessionInfoServlet
> --------------------------------------------------------------------
>
> Key: SLING-1706
> URL: https://issues.apache.org/jira/browse/SLING-1706
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Get 2.0.8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Get 2.0.10
>
>
> The SessionInfoServlet currently returns the id and workspace of the
> logged-in JCR Session. To determine, whether the current request is actually
> authenticated or not, this is not enough information.
> Adding a new property "authType" set to the value of the
> HttpServletRequest.getAuthType() method serves this purpose:
> * The property is not set if the getAuthType() method returns null. The
> request is not authenticated in this case
> * The value of the property not only indicates that the request is
> authenticated but also the kind of authentication which was used
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.