You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (Commented) (JIRA)" <ji...@apache.org> on 2012/03/28 17:41:26 UTC

[jira] [Commented] (SLING-2441) AuthenticationInfo.put() throws if method is null

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

Justin Edelson commented on SLING-2441:
---------------------------------------

Perhaps I'm missing something really obvious, but why would this change require a recompilation? There's no signature change.
                
> AuthenticationInfo.put() throws if method is null
> -------------------------------------------------
>
>                 Key: SLING-2441
>                 URL: https://issues.apache.org/jira/browse/SLING-2441
>             Project: Sling
>          Issue Type: Bug
>          Components: Authentication
>    Affects Versions: Auth Core 1.0.6
>            Reporter: Jeff Young
>            Assignee: Justin Edelson
>              Labels: newbie, patch
>             Fix For: Auth Core 1.1.0
>
>         Attachments: auth_info_put.patch
>
>
> Historically the AUTH_TYPE of an AuthenitcationInfo had to be defined (ie: non-null), but we're now using it for anonymous access as well, with a null AUTH_TYPE.  The put() method, however, throws if passed a null AUTH_TYPE.  
> (This is triggered, for instance, by CQ's AuthenticationInfoPostProcessorBridge, which does a putAll().)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira