3 Replies Latest reply on Sep 17, 2004 10:33 AM by Arnold Fung

    Principal=null on inter-server calls

    Arnold Fung Newbie

      Hello all,

      I am running JBoss 3.2.4 on Java 1.4.2_05

      I have 2 instance of JBoss running (P and Q), the EJBs in both servers are secured against the same JAAS domain. For sake of discussion, assume:
      -EJB A lives on P
      -EJB B lives on Q

      My client connects to P and authenticated using the ClientLoginModule.

      Whenever A makes a call to B and B calls ctx.getCallerPrincipal(), an exception "No security context set" is thrown from B.

      Why is principal null when A managed to obtained B to invoke calls on it?

      Anyone have similar experience? Thanks.