You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2009/10/26 14:40:59 UTC
[jira] Created: (SLING-1164) espblog sample: AccessDeniedException
when saving blog post from Safari
espblog sample: AccessDeniedException when saving blog post from Safari
-----------------------------------------------------------------------
Key: SLING-1164
URL: https://issues.apache.org/jira/browse/SLING-1164
Project: Sling
Issue Type: Bug
Components: Samples
Reporter: Bertrand Delacretaz
Priority: Minor
Steps to reproduce:
cd launchpad/app
rm- rf sling
java -jar target/org.apache.sling.launchpad.app-6-SNAPSHOT.jar -p 8888
install samples/espblog and samples/path-based-rtp bundles.
Using Safari (4.0.3 in my tests), login via http://localhost:8888/?sling:authRequestLogin=true
Open http://localhost:8888/content/espblog/*.html and use the "New Post" link to create a post.
When attempting to save the post, Sling returns a "javax.jcr.AccessDeniedException: /content/espblog/posts: not allowed to modify item" error.
The same scenario works fine with Firefox 3.0.14.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (SLING-1164) espblog sample: AccessDeniedException when saving blog post from Safari
Posted by Ian Boston <ie...@tfd.co.uk>.
I think this might be to do with passing basic auth from Safari
browser requests to XHR (Ajax) request. I remember something on the
Shindig list about the same problem. (or maybe it was this list)
Ian
On 26 Oct 2009, at 13:40, Bertrand Delacretaz (JIRA) wrote:
> espblog sample: AccessDeniedException when saving blog post from
> Safari
> -----------------------------------------------------------------------
>
> Key: SLING-1164
> URL: https://issues.apache.org/jira/browse/SLING-1164
> Project: Sling
> Issue Type: Bug
> Components: Samples
> Reporter: Bertrand Delacretaz
> Priority: Minor
>
>
> Steps to reproduce:
>
> cd launchpad/app
> rm- rf sling
> java -jar target/org.apache.sling.launchpad.app-6-SNAPSHOT.jar -p 8888
>
> install samples/espblog and samples/path-based-rtp bundles.
>
> Using Safari (4.0.3 in my tests), login via http://localhost:8888/?sling:authRequestLogin=true
>
> Open http://localhost:8888/content/espblog/*.html and use the "New
> Post" link to create a post.
>
> When attempting to save the post, Sling returns a
> "javax.jcr.AccessDeniedException: /content/espblog/posts: not
> allowed to modify item" error.
>
> The same scenario works fine with Firefox 3.0.14.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>