欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

[转载]Ajax based login using Acegi AjaxAcegiSpringWeb

程序员文章站 2022-03-14 21:39:40
...
原文链接:

http://www.jroller.com/page/sjivan?entry=ajax_based_login_using_aceci

Ajax based login using Acegi

Acegi is an extremely powerful Spring module for Authentication and Authorization and has almost become a defacto for web based applications built using Spring. Ajax based applications are getting hotter by the day and having a nice inplace Ajax based login page can improve coolness of your app and make it more Web 2.0'ish.

However implementing an Ajax-Acegi based login does require a little extra work because based on the J2EE spec, when a user tries to login, they are redirected back to the login page if the credentials are invalid or redirected to the success page on successful authentication.