[ 
https://issues.apache.org/jira/browse/SLING-11974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler updated SLING-11974:
-------------------------------------
    Fix Version/s: API 2.27.4

> Regression caused by SLING-11825 - change in request getUserPrincipal
> ---------------------------------------------------------------------
>
>                 Key: SLING-11974
>                 URL: https://issues.apache.org/jira/browse/SLING-11974
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.14.0, Engine 2.15.0, Engine 2.15.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: API 2.27.4, Engine 2.15.4
>
>
> With SLING-11825 getUserPrincipal will always return null for the anonymous 
> user. While this change is spec compliant it is a change in behaviour which 
> is actually breaking users of Sling.
> Therefore we should revert that change
> While in theory we could provide a switch to toggle the behaviour, I don't 
> think there is very little value to complicate our code and configuration 
> setup  - the old behaviour has been in place for many many years



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to