1 Reply Latest reply on Mar 28, 2006 12:19 PM by Scott Stark

    getCallerPrincipal in EJBContext.

    Ayusman Dikshit Newbie

      Hi,

      I am trying to get the name of the principal from EJBContext object.
      I have asimple doubt as to who sets the principal?

      Is it the ServletContainer that sets the principal? or the EJB container?

      Please suggest, as I am getting name of the principal as "anonymous" only.

      Please suggest.
      Thanks
      Ayusman