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

    getCallerPrincipal in EJBContext.

      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