0 Replies Latest reply on Feb 21, 2013 10:57 AM by Juergen Weber

    Principal propagation from web to ejb -> anonymous

    Juergen Weber Newbie

      Hi,

       

      AS 7.1

      I try to call an EJB from a servlet (see attachment). The servlet is authenticated, getRemoteUser() gives the right user,  but in the EJB the user is anonymous, but strangely, ctx.isCallerInRole is true, but only for one of the two roles of the user.

      Is the user being anonymous a known bug or is there a work-around?

       

      Thx, Juergen