Last updated by burtbeckwith
4 years ago
Version 0.5.1 of the plugin is mostly backwards-compatible with version 0.4.1, so if you're using version 0.4.1 of the plugin and want to upgrade to version 0.5 there's not much to do to upgrade:
If you're using Eclipse, remove the old plugin's source folders and jar files from your classpath and add these:
If you're using Grails 1.1, you should edit RequestmapController, RoleController, and UserController and change 'def allowedMethods' to 'static allowedMethods'. This isn't required but is a good idea, and Grails will complain at app start if you don't.
- delete the current plugin zip and expanded folder from the plugins folder
- install the new plugin:
grails install-plugin acegi
- add these plugin folders as Source Folders:
- plugins/acegi-0.5/grails-app/controllers
- plugins/acegi-0.5/grails-app/services
- plugins/acegi-0.5/grails-app/taglib
- plugins/acegi-0.5/src/groovy
- plugins/acegi-0.5/src/java
- and these jars:
- plugins/acegi-0.5/lib/commons-codec-1.3.jar
- plugins/acegi-0.5/lib/spring-security-core-2.0.4.jar
- plugins/acegi-0.5/lib/spring-security-core-tiger-2.0.4.jar
If you're using Grails 1.1, you should edit RequestmapController, RoleController, and UserController and change 'def allowedMethods' to 'static allowedMethods'. This isn't required but is a good idea, and Grails will complain at app start if you don't.