0 Replies Latest reply on Sep 22, 2009 4:26 AM by vitthal patil

    EntityContext.getCallerPrincipal() returns incorrect princip

    vitthal patil Newbie

      when i call the EntityContext.getCallerPrincipal() method it is returning the incorrect principal i.e anonymous.

      is any one tell me what is the problem ?
      and what is the solution for this?
      JBOSS version 4.0.4 and EJB 2.0