[ https://issues.apache.org/jira/browse/SLING-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240495#comment-13240495 ]
Justin Edelson commented on SLING-2441: --------------------------------------- Ah, fair enough. Not really a compilation change, but a mainfest update. But I see your point. But do you agree that if we make this change, the exported package version has to 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