2 Replies Latest reply on Apr 15, 2011 11:52 AM by dvdpurcell

    JBoss 6 jboss-app.xml

    javacoryd

      We have a bunch of startup servlets that call EJB 2 stateless session beans.  In JBoss 4.2.0 GA we were able to add a tag to the jboss-app.xml called "unauthenticated-principal" which allowed the services to be called by the startup servlets. 

       

      These calls are now failing in JBoss 6 with the error below.  Is this no longer supported in JBoss 6?

       

      Thanks,

       

      Cory.

       

      2011-03-25 13:28:38,079 ERROR [org.jboss.ejb.plugins.SecurityInterceptor] (Thread-2) Error in Security Interceptor: java.lang.SecurityException: Authentication exception, principal=null

          at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityContext(SecurityInterceptor.java:322) [:6.0.0.Final]

          at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:243) [:6.0.0.Final]

          at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205) [:6.0.0.Final]

          at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:142) [:6.0.0.Final]

          at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88) [:6.0.0.Final]