0 Replies Latest reply on May 15, 2003 6:15 PM by jakeblue

    Message Driven Beans and Authentication...

    jakeblue


      (Using JBoss 3.0.5 if you're curious).

      I've got a Message Driven Bean that needs to act as an EJB client. Naturally, every time I try to call one of my EJBs, the Security Interceptor kicks me out with "Principal=null". This makes sense, since JBoss has no idea who the caller principal should be from JMS...

      My question is this: Is it possible to "login" to your own server to gain the credentials to access your EJBs? If so, how? Using the same methods I use for client logins don't seem to work. Any thoughts?

      Am I totally screwed by using a MDB? Should I try an MBean as a JMS listener?