I think those methods are implemented, but only return valid values when "allow 
anonymous access" is false.  Otherwise getRemoteUser is always "anonymous"

Regards
Rory

Rory Douglas
Senior Principal Consultant
Oracle Consulting
(sent from my Blackberry)

----------Original Message----------

From: Torgeir Veimo <[email protected]>
Sent: Thu, January 08, 2009 3:14 PM
To: [email protected]
Subject: Re: Since sling is support ing for jackrabbit 1.5 why doesn't 
providehttp api for user manager?



On 9 Jan 2009, at 03:00, Rory Douglas wrote:

> Actually, if you need to, it's simple to access the "security"  
> workspace (if you have the admin credentials):


[...]

Having SlingRequest implement getRemoteUser(), getUserPrincipal() and  
isUserInRole() would help a lot.

-- 
Torgeir Veimo
[email protected]




Reply via email to