You mean there is no way to just tell the controller to ask for authorization 
on a specific request  pattern, say like: /personal/* ; (because that's how i 
was thinking it would be.)



________________________________
 From: Jonathan Bennett <[email protected]>
To: [email protected] 
Sent: Friday, November 18, 2011 1:32 PM
Subject: Re: [OSM-dev] Where is the code that checks if the user is logged in 
before serving the request?
 
On 18/11/2011 10:42, Alexandru wrote:
> That's very helpful! Thanks.
> I looked over the code but couldn't find easily what i was looking for
> (i'm a java dev)...
> can you give me a hint on how to make any request filtered by
> authorization? pls
> 


As you've been told before, the OSM server stack is built using Ruby on Rails. 
To understand how the server works, you need to understand how Rails works -- 
you can't just dip into the code without knowing how the framework it's built 
with works. There's no real shortcut here.

There are plenty of resources available:
http://rubyonrails.org/documentation


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to