I’ve finished this a while ago, but just now am finally posting it to my blog. This article will eventually find a nice home at JavaLobby or some similar online publication, but I want to get the information out there until that publication comes out.
Here is the perm-link to the article:
5 thoughts on “AJAX with ACEGI article”
Great article… Just wanted to point out that the property serverSideRedirect is set to false by default and provides the traditional behavior of redirecting to the login page. In your article you say to set the property to false but it should be set to true for the behavior you describe. Semantically, setting serverSideRedirect to true for the forwarding feature seems kind of strange but that’s how they decided to do it.
Mark, good catch. I’ll try and update the article today and repost it. The function is pretty simple in that it just submits the form using any AJAX library and an HTTP POST.
The permalink no longer works.
I would like to see how you got this working with configuration only, as I would like to do something like this with the latest version of spring and spring security
I don’t really know where the article is any longer, but I believe I did get it published in an online publication. However, after much searching, I can’t find it. I did find another article out there about AJAX and Acegi. I’d also warn that all the information for ACEGI could be deprecated with the latest versions of Spring Security. I’ll look for the article and see if I can get it posted again.