Hello all, I got a problem here using JAAS to log in an application. When I have one single instance (browser window) opened everything works great. The problem comes when I have more than one window (or tab) opened in the login page. Is this case, the first login I make, still works fine but on the second window I get this error:
The way I understand it, this is working as designed. You only get forwarded to j_security_check if you do not have an authenticated session. If one authenticates in one tab, every tab shares that authenticated session. j_security_check is not accessible on the second tab because you are already logged in. Try entering a URL for a protected resource and you should be able to view it in the second tab.