Access control is handled by the ACL not the uri security filter. So what you 
must do is 
- give the anonymous role read rights to the nodes in the data module you want 
to export as json
- allow the anonymous role to to call the URL to your servlet

The uri security filter is only a configuration for "what to do when the user 
calls a URL which is protected by the ACL".

-will

P.S.: Guys, don't hesitate to correct me, if I'm wrong on this one ;-)

On 08.06.2012, at 12:02, Marian Dix (via Magnolia Forums) wrote:

> Hi Magnolia Team,
> 
> i have a custom servlet which reads some nodes from the Data Module and 
> represent this nodes in json format.
> This works fine at the moment but my problem is that i get some errors if 
> i'am not logged in. 
> 
> So i think i have to bypass the URISecurityFilter ?
> 
> here you can see Filter Settings for servlet and UriSecurity
> 
> [URL=http://imageshack.us/photo/my-images/138/settingstc.png/][IMG]http://img138.imageshack.us/img138/1977/settingstc.png[/IMG][/URL]
> 
> Is it correct to implement a custom servlet to get some data out of Magnolia 
> for eg. a 
> rest api ? Or does Magnolia has other possibilities to do something like that 
> ?
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=ca2fc012-6616-4ce0-ba7f-8ce440f07c21
> 
> 
> ----------------------------------------------------------------
> For list details, see: 
> http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to