You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/08/30 14:56:52 UTC

[jira] Created: (SLING-1706) Add authentication type info to the result of the SessionInfoServlet

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.


[jira] Resolved: (SLING-1706) Add authentication type info to the result of the SessionInfoServlet

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (SLING-1706) Add authentication type info to the result of the SessionInfoServlet

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-1706.
------------------------------------


Closes issue after bundle release.

> 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.1.0
>
>
> 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.