Wednesday, April 16, 2008
Migrating from acegi to spring security
So I migrated my current project from acegi 1.0.5 to spring security 2.0.0-RC1. Here are my notes incase anyone might find this useful. Pom.xml changes: org.springframework.security spring-security-core ${spring.security.version} spring-aop org.springframework spring-dao org.springframework spring-jdbc org.springframework spring-remoting org.springframework spring-support org.springframework org.springframework spring org.springframework.security spring-security-taglibs ${spring.security.version} org.springframework.security spring-security-acl ${spring.security.version} And I defined a variable in our root pom 2.0.0-RC1 The new jars also change all the package name from 'org.acegisecurity' to 'org.springframework.security' I just did a find and replace in idea and that seemed to work fine. Static variable have also changed their prefix from 'AGEGI_' to 'SPRING_SECURITY_'. I did another replace in path with IDEA to do this as well. Taglibs. Tag libs have changed a little too. You should replace <%@ taglib uri="http://acegisecurity.org/authz" prefix="authz" %> with <%@ taglib uri="http://www.springframework.org/security/tags" prefix="authz" %> The authentication tag also works differently. I had to replace things like with ${user.fullName} After all this everything seems to be working perfectly. Next step is to refactor our security configuration to the newer model.
Tuesday, April 08, 2008
Monday, April 07, 2008
Where is my facebook chat?!?!
So facebook has announced their new chat feature (http://blog.facebook.com/blog.php?post=12811122130). It does not seem to be enabled in any of the Canadian networks so far. Any one here in Canada have chat yet?
Subscribe to:
Posts (Atom)