On Fri, Feb 12, 2010 at 21:18, Andreas Schaefer <[email protected]> wrote:
> This is strange. I ran this example two weeks ago and it worked. But with the 
> latest code base it does not work anymore. It even fails when I try it given 
> it the username/password when I bring the page up:
>
>        http://admin:ad...@localhost:8080/content/blog/*.html
>
> but when I try to do it with curl:
>
>        curl -F title="d" -F text="d test" 
> http://admin:ad...@localhost:8080/content/blog/d
>
> then it works nicely.
>
> This means either the 46-line blog it not working at all on a Mac including 
> Firefox? How is it supposed to work at all if I cannot tell the browser how 
> to log into the JCR. This is broken with Safari but now also with Firefox.

There were changes to the (standard) authentication lately. Depends on
what code base you are using. The basic-auth login (including a
redirect to a login page for Firefox and IE) was replaced AFAIK with a
form-based cookie mechanism. Maybe this doesn't work yet together with
the blog sample.

See http://sling.apache.org/site/authentication.html for the
up-to-date docs (afaik).

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to