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.

Cheers - Andy

On Feb 12, 2010, at 3:40 AM, Alexander Klimetschek wrote:

> On Thu, Feb 11, 2010 at 21:27, Andreas Schaefer <[email protected]> wrote:
>> javax.jcr.AccessDeniedException: /content/blog/first_blog/text: not allowed 
>> to add or modify item
> 
> This means the user that is logged in jcr (for that request) does not
> have write permissions on that path. The acls could be changed on the
> content or the blog sample must support some kind of login.
> 
> Regards,
> Alex
> 
> -- 
> Alexander Klimetschek
> [email protected]

Reply via email to