I have a question. Is it possible to use JAAS authorization in AJAX mode. I mean, can I use form authorization with j_security_check, without redirecting after login, but just stay at the same page..
I want to make user authorization on e-commerce web site, so I cant't make separate page for login.. All I need is login button on the main page, user press this button and some kind of popup window appears with login and password fields, user types in his credentials, press login and gets authorized via ajax request..and no redirect..
I've done just this last week using HttpServletRequest.login, available since the Servlet 3.0 specification. I think it should also be possible by using AJAX to post to j_security_check but you'd have to check that out yourself.