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/02/11 12:26:28 UTC

[jira] Commented: (SLING-1368) Support ordering of authentication handlers

    [ https://issues.apache.org/jira/browse/SLING-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832448#action_12832448 ] 

Felix Meschberger commented on SLING-1368:
------------------------------------------

This functionality is now implemented in Rev. 908919 (which also adds some JavaDoc)

> Support ordering of authentication handlers
> -------------------------------------------
>
>                 Key: SLING-1368
>                 URL: https://issues.apache.org/jira/browse/SLING-1368
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Commons Auth 1.0.0
>
>
> Right now authentication handlers are only ordered by their registration path. If multiple authentication handlers are registered for the same path, the order at which they are asked is basically undefined.
> It would be useful to be able to control this order using the regular service.ranking service registration property.
> One use of such ordering would be to be able to better control which authentication handler should be in charge of requesting credentials. For example, a high priority "pseudo authentication handler" could be provided, which just renders login forms. Such a provider could provide forms for both form based authentication and OpenID authentication and support the client in selecting which form of authentication she/he selects.
> Such an authentication handler should of course have precedence in terms of requesting credentials over the other authentication handlers. Adding support for service.ranking would solve this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.