[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [Security] - Migrating to 5.1.0,
From:       Gupta <do-not-reply () jboss ! com>
Date:       2009-11-30 12:15:28
Message-ID: 5349729.1259583328419.JavaMail.jboss () nukes01 ! app ! mwc ! hst ! phx2 ! redhat ! com
[Download RAW message or body]

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

/Gupta

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
 _______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic