Hi,
I've had some requests for a new version of the plugin so I have
released a new intermediate version with some significant changes. You
can install it using the magic incantation:
grails install-plugin
http://svn.codehaus.org/grails-plugins/grails-jsecurity/trunk/grails-jsecurity-0.3-SNAPSHOT.zipThe two significant changes are:
1. It comes with JSecurity 0.9.0 RC2 which seems to fix some issues
with NullPointerExceptions
2. Remembered users can now have access to protected pages.
With regard to the second item, the default behaviour is still to
required authenticated users but this can be overridden in two ways.
You can change the default behaviour by setting this config variable:
jsecurity.authc.required = false
Alternatively, you can override it on a per-access control basis by
using a named argument like this:
before = {
accessControl(auth: false) {
role("Administrator")
}
}
The release has only gone through minimal testing, so use at your own
risk :) Let me know if it things are still broken, or if there are new
problems.
Cheers,
Peter
--
Software Engineer
G2One, Inc.
http://www.g2one.com/---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email