Hi again, I've uploaded a project to github to show the issues I have: https://github.com/hwaastad/WebSecurity.git
Running the test in tomee 1.6.0-SNAPSHOT the output is: Timer event: Sun Jun 09 10:41:00 CEST 2013 BusinessBean: User is in InternalGroup BusinessBean: Hello: InternalGroup HelloBean Event:Do not know which group the user belongs... HelloBean Event: Hello: guest HelloBean: Do not know which group the user belongs... HelloBean: Hello: guest Running the same project in Glassfish 3.1.2.2: (using default file realm) INFO: Timer event: Sun Jun 09 10:47:20 CEST 2013 INFO: BusinessBean: User is in InternalGroup INFO: BusinessBean: Hello: internal-user INFO: HelloBean Event: User is in InternalGroup INFO: HelloBean Event: Hello: internal-user INFO: HelloBean: User is in InternalGroup INFO: HelloBean: Hello: internal-user Something happens when the SessionBean is annotated with @Asynchronous.... Best regards, hw -- View this message in context: http://openejb.979440.n4.nabble.com/Tomee-and-security-role-mapping-tp4663567p4663571.html Sent from the OpenEJB User mailing list archive at Nabble.com.
