0 Replies Latest reply on Apr 28, 2009 11:52 AM by bacooper81

    In too deep: JBOSS + JAAS + AJAX

    bacooper81

      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.