[jboss-user] [Security] - Migrating to 5.1.0, "Invalid User"-Exception
do-not-reply at jboss.com
Mon Nov 30 07:15:28 EST 2009
We are currently in a process of migrating our AS from JBoss 4.2.1 to JBoss 5.1.0. We keep getting "Invalid User"-Exceptions thrown in our test classes due to thread issues with the JBoss implementation. Apparently (as far as wecan tell) it seem to do with the fact that we spawn a new thread in the beginning of each test case, where we do the log in.
In our main program (the non-test classes) however JBoss 5 works fine, since the log-in process in that case is made in the UI-thread (from the log-in dialog).
We've also figured it had to do with the SecurityInterceptors and tried to shut them down, without success. What about 'Subject.doAs'in the new JBoss 5, is it needed at all or is it handled by the interceptors in the proxy? If so, how may we control the interceptors?
Anyone who has a clue!?
Thanks in advance
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268064#4268064
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268064
More information about the jboss-user