I’m pleased to announce the release of version 0.2 of the Stark Security plugin. Not a huge deal, but a few convenience enhancements:
- Enable arbitrary password encoding algorithms, on a DAO provider basis
- Allow for tweaks to authorization mappings in StarkSecurityConfig.groovy without app restart.
- Let user install the plugin but defer configuration (this used to result in exceptions on app startup).
The 0.2.2 bug-fix release solves an issue with custom url mappings not responding to the authorization mappings in controllers. With this fix, any custom mappings in UrlMappings will resolve to the authorization mappings of the eventual controller target.
Documentation (including upgrade instructions, release notes, etc.) is here: http://www.grails.org/Stark+Security+Plugin
As always, comments/questions/suggestions are much appreciated!
Greg | 26-Dec-08 at 3:48 pm | Permalink
The plugin just blows up on OSX. Comes back with a Missing Method for isEmpty(). I suspected this is because perhaps you are assuming that production machines run JDK1.6 which normally isn’t the case. However, even after upgrading to JDK1.6 and verifying with java -version the plugin was still blowing up.
After a couple of hours I had to give up on it.
Ola Bildtsen | 26-Dec-08 at 8:04 pm | Permalink
Curious, I haven’t noticed this and OSX is my main development platform. Can you please send more details (full stack trace, a sample app zipped up would be even better)?
rainer | 09-Jan-09 at 1:06 pm | Permalink
Had the same problem on OS/X, switched to java 1.6 and then did grails clean. That does the trick. On next grails run-app, everything was finde.
rainer | 10-Jan-09 at 8:31 am | Permalink
…but then when you launch eclipse, you realize that eclipse does not run with java 1.6 on Mac OS X. Do you mind changing SessionExpirationFilter.groovy:26 String.isEmpty() to something like String.equals(“”) or so ? That could eliminate the 1.6 dependency…
Thanks
Ola Bildtsen | 11-Jan-09 at 10:55 am | Permalink
Stark Security version 0.4.1 has been released to deal with this issue.