[ https://issues.apache.org/jira/browse/SLING-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reopened SLING-2441: -------------------------------------- Sorry to reopen. Keeping this fix, will require all down stream implementations of the SPI interfaces to be recompiled for no really obvious reason. One part of the problem, is that we have to adapt the documentation, that we accept the authentication type to be null on object creation. But for subsequent update, I think we should stick with the old behaviour of not accepting null. > 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