Saturday, January 19, 2008

Upgrade to Spring-security 2.0.m1

Last night I upgraded my pet project ot using the latest milestone of Spring-security. This is smoothier than I thought. I only need to make two global changes to make it work.
  • change all aceigsecurity to springframework.security in all java/xml/properties files;
  • change all ACEGI_SECURITY to SPRING_SECURITY in all these constants you possibly used.
After that, it is working again. the next step would be to simplify the xml configuration and use new feature provided.

Of course, if you are using Maven2 like I do, you might need to exclude several dependencies since it is still on spring 2.0.6 and I am already on 2.5.1.

No comments: