[OSM-dev] Where is the code that checks if the user is logged in before serving the request?

Jonathan Bennett openstreetmap at jonno.cix.co.uk
Fri Nov 18 11:32:42 GMT 2011


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




More information about the dev mailing list