New work rhythm is faster, so not too much update blog. Recently, Ibaits code conventions and JUnit best practice have been written, and I'm glad that the community can progress along the path of agility and TDD. Friends who need these two things can send mail to me.
Acegi out 0.8, the changes are really quite a lot, the original 0.7 of the application, changed one hours to completely upgrade successfully. Memo:
1 The most intimate change is that the filter chains can be loaded in a spring container and no longer has to be declared in the Web.xml as a long string of filter. For example:
2 httpsessionintegrationfilter have disappeared, using net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter instead, such as: <bean id= "Httpsessioncontextintegrationfilter" class= " Net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter "> <property name=" Context "><value >net.sf.acegisecurity.context.security.SecureContextImpl</value></property> </bean>
This "context" property has to be set yo.
3 added a feature that allows you to declare a Httpsessioneventpublisher context listener in Web.xml, and think about spring's now immature message publishing mechanism (AOP), which is used primarily for journaling. I'm not used to this function for the time being.
Conclusion: Acegi is very strong, but also very annoying, this time 0.1 upgrade let me toss for one hours, hey.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.