After hours and hours of evaluating the differences between the two applications I found the difference that caused the problem. To use the ClientLoginModule of JBoss in Tomcat you need to add the jbossall-client.jar in your classpath. I did that, but I also had this library in WEB-INF/lib of my webapp and for some reason this caused that the credentials where not passed during my call to the secured EJB. Removing the jbossall-client.jar from the WEB-INF/lib directory did the trick.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865837#3865837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865837 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
