<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>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.)<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Jonathan Bennett <openstreetmap@jonno.cix.co.uk><br> <b><span style="font-weight: bold;">To:</span></b> dev@openstreetmap.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, November 18, 2011 1:32 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [OSM-dev] Where is the code that checks if the user is
 logged in before serving the request?<br> </font> <br>
On 18/11/2011 10:42, Alexandru wrote:<br>> That's very helpful! Thanks.<br>> I looked over the code but couldn't find easily what i was looking for<br>> (i'm a java dev)...<br>> can you give me a hint on how to make any request filtered by<br>> authorization? pls<br>> <br><br><br>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.<br><br>There are plenty of resources available:<br>http://rubyonrails.org/documentation<br><br><br>_______________________________________________<br>dev mailing list<br><a ymailto="mailto:dev@openstreetmap.org" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>http://lists.openstreetmap.org/listinfo/dev<br><br><br> </div> </div>  </div></body></html>