Hi All, I have used ClientLoginModule using jboss4.0.1 with tomcat standalone in seperate tier.
The way I have done is regardless of mutli-threaded=true|fase , I always invoke ClientLoginModule in a filter configured in tomcat. Initially if there no user stored in session, i take anonymous and store in session and use the same principal and call login module which (according to jboss documentation) sets the principal for the current thread. As soon as the authenticated principal comes into session the filter takes the authenticated principal and calls invoked ClientLoginModule always so jboss gets the current user in call in ejb calls. Hope it help, let me know if I am not doing the right way. Regards, Mehdi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953203#3953203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953203 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user