Google App-Engine, Grails and Security
Posted by pebuchmann_super on 08 Jun 2009 | Tagged as: Software Development
Here are the directions for a patch in a great Screencast by Tomás Lin that makes authentication work in a Grails Application on Google’s App-Engine:
google.appengine.sessionEnabled = true // default true google.appengine.enableSsl = true // default true google.appengine.security.useHttps = ["/secure", "/shoppingcart/*", "/admin"] google.appengine.security.requireAdmin = ["/admin", "/notsecuredadmin"] google.appengine.security.requireLogin = ["/admin", "/", "/yabbadabbadoo"]
Don’t forget to apply the securePatch.diff patch to the plugin directory of your project – that is in <home>.grails/1.1.1/projects/myproject/plugins/app-engine-0.8.1 in order for these properties effectively written to the web.xml file.
1 Comment »
on 13 Jun 2009 at 4:18 pm 1.tomas lin said …
This has been merged into the newly released 0.82 version of the app-engine plugin and the patch is no longer necessary