[jboss-user] [EJB 3.0] - In too deep: JBOSS + JAAS + AJAX

bacooper81 do-not-reply at jboss.com
Tue Apr 28 11:52:48 EDT 2009


I'm pretty new to EJB and JBOSS, but I really want to take advantage of all the functionality they provide, including authentication. So I'm building a web app with JAAS, JBOSS and AJAX, and I got it to authenticate a user. The problem is, after it does it forwards the browser to the URL the original request was made to. This is a problem because the original request was an AJAX call to the server, and is only supposed to refresh part of the page. Now its grabbing that little bit of data and showing it on a completely new page. I'm not really sure what to do here. Is there some way I can control what happens after authentication is complete? Or is there a better solution?

Thanks in advance for any help. 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227325#4227325

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227325



More information about the jboss-user mailing list