4 Replies Latest reply on Apr 25, 2003 11:09 AM by Usmangani

    No security context set in EJB

    Mark Hellkamp Newbie

      I am using the JBoss-2.4.3_Tomcat-3.2.3 release and am having problems accessing the principal from a session bean. I am logging into my web app using the UsernamePasswordLoginModule and then referencing a page that calls a session bean. The session bean needs to access the caller principal (via a call to getCallerPrincipal()) but when I try to do this I get a "No security context set" exception. This exact same web application works on both Orion and Weblogic, so I know the app should be working. Any ideas?