>> 
>> In the context of a Sling request the API to call would be 
>> https://javaee.github.io/javaee-spec/javadocs/javax/servlet/http/HttpServletRequest.html#getUserPrincipal--
>>  : a null return value corresponds to the anonymous access.
>> 
> 
> This does not work for me. I get back 
> org.apache.jackrabbit.oak.security.user.TreeBasedPrincipal:anonymous
> (In AEM).

FTR: This seems to violate the servlet spec, I therefore opened 
https://issues.apache.org/jira/browse/SLING-11825.

Reply via email to