Last updated by jinchi 4 years ago
The Spring Security plugin simplifies the work involved in integrating Spring Security (formerly called Acegi Security) into Grails applications. By combining a core configuration with user-specified options and overrides, it creates a best-practice configuration of Spring Security in any Grails application while allowing developers to make config changes without having to deal with the complexity of using Spring Security directly.


Spring Security is a very powerful framework and is the default security framework for Spring, but this power comes at the cost of complexity and a rather steep learning curve. The Grails Spring Security plugin manages most of the complexity for you while allowing application-specific customization.

By installing the plugin you get:

  • Spring Security filters and Spring beans are registered in web.xml and the application context for you; customization is done in SecurityConfig.groovy
  • all required Spring Security jar files
  • Domain classes, Controllers, and CRUD GSPs for User and Role management and persistence
  • Login and Logout Controllers and GSPs
  • DefaultSecurityConfig.groovy with default attribute values, and SecurityConfig.groovy for application-specific overrides
  • Taglibs and Service for Security
  • User signup Controller and GSPs, including CAPTCHA support
  • Optional support for LDAP, OpenID, Kerberos, CAS, NTLM, and Facebook Connect.

History

  • January 13, 2009
    • released 0.5.1
  • January 11, 2009
    • released 0.5
  • December 9, 2008
    • released 0.4.1
  • December 8, 2008
    • released 0.4
  • April 30, 2008
    • released 0.3
  • April 15, 2008
    • released 0.2.1
  • Nov, 2007
    • added snapshot version of 0.2
  • May 5, 2007
    • upgraded to support latest Grails 0.5+
  • Mar 25, 2007
    • added fixed version for grails-0.5-SNAPSHOT - changed getController() to getArtefact("Controller", ControllerName ).
  • Feb 9, 2007
    • Fixed more for 0.4 release
    • name changed to 'AcegiSecurity Plugin' from 'Acegi on Grails Plugin'
  • Jan , 2007
    • Fixed to use sessionFactory
  • Dec 23, 2006
-http://sky.geocities.jp/acegiongrails/grails-acegi-on-grails-0.1.zip- - this version does not work anymore.