You are right, the previous solution is not work with Webkit base browsers.

Christophe


2009/1/28 Christophe Lombart <[email protected]>

> Sorry for the delay :-)
> It is on Mac OS  + Firefox 3.0.5.
>
> I found a solution but honestly, I'm not Http auth. expert. So I'm still
> wondering why is working now . I plan to read more about HTTP auth :-)
>
> Here is my solution :
> I created a login.html page which is on the root level of my sling server
> (as the default index.html file). This page contains almost the same ajax
> call as /system/sling/login mechanism.
> Than, I can login from that place and when I going to visit a page inside a
> subfolder (eg. /myapplication), that works. I can post as admin user and
> Sling.getSessionInfo() gets the good info.
>
>
> br,
> Christophe
>
>
> 2009/1/23 Felix Meschberger <[email protected]>
>
> Hi Christophe,
>>
>> What client browser are you using ? We are aware that WebKit based
>> browsers (Safari and Chrome) seem to not use the credentials after using
>> the /system/sling/login mechanism.
>>
>> Regards
>> Felix
>>
>> Christophe Lombart schrieb:
>> > Hi all,
>> >
>> > I'm using /system/sling/login to be authenticated. In Javascript, I see
>> that
>> > I'm correctly connected as admin (thanks to Sling.getSessionInfo()) but
>> I
>> > got an AccessDeniedException during an HTTP POST. I don't understand why
>> > because I'm connected as admin. How can I solve this problem ?
>> >
>> > I found that another one has the same problem  :
>> >
>> http://sling.markmail.org/search/?q=authentication%20%22%2Fsystem%2Fsling%2Flogin%22#query:authentication%20%22%2Fsystem%2Fsling%2Flogin%22+page:1+mid:6vsr42pazvoczdbf+state:results
>> >
>> > thanks,
>> > Christophe
>> >
>>
>
>

Reply via email to