2 Replies Latest reply on Nov 1, 2003 8:03 AM by Juha Lindfors

    Pass the User/Principles from Web Container to EJB Container

    david snowsill Newbie

      Can anybody tell me if the user/principal details should be passed automatically from the web tier to the ejb tier as it doesn't appear to work for me.

      Some details:

      I am using JBoss 3.2.1 with Jetty as the web container and have succesfully configured the web container to authenticate using form based authentication against a custom login module by modifying the usual files ( ie. web.xml, jboss-web.xml, login-config.xml). I have also succesfully logged in against the secured ejb's from a java client but when one of my struts actions calls a secured ejb it fails with principal=null.

      Any help would be appreciated. If neccessary I can post all the usual config files