"What, Another one?" you say. Well I personally don't like Acegi and other Java based auth libraries I've seen because they are overcomplicated and not very Grailsy. This plugin can virtually install and go - it also has a development-mode only "signup" controller so you can easily create accounts for testing.
This plugin has no API classes to extend or interfaces to implement, it uses Groovy's dynamic nature and a simple events mechanism so that you can alter behaviour by providing your own event handlers, or replacing the entire event handler class.
It also leverages Groovy's dynamic abilities so that you don't have to use the default GORM domain class for user data, in fact you don't need to use GORM at all, it is completely abstracted with minimal requirements on your class (just support 3 properties - login, email and password).
Documentation for Authentication Plugin is online. It can be installed with "grails install-plugin authentication"
Comments (1)
Apr 24, 2008
Christian Helmbold says:
Thanks for your work! I have two suggestions to improve security in one oft...Thanks for your work!
I have two suggestions to improve security in one oft the future releases: