2 Replies Latest reply on Jul 13, 2006 2:33 PM by Scott Stark

    wrong principal although authenticated in 4.0.4 GA

    Thierry Cathelineau Newbie

      Since we migrated our app from 4..0.3 to 4.0.4 GA, we are facing the following problem:
      - some ejb2 sb are created with the right JAAS credentials but while getting the principal, the username is not the right one. It's usualy, anonymous (or null if module-option name="unauthenticatedIdentity is not set). I am saying with the right crédentials since I disabled the JAAS caching to be sure and I verified in that the JAAS Login module gets the rights info. Moreover, these beans have only checked methods that are accessed without any problem. The principal is got and is not null but username is either anonymous or null.

      Has anybody else faced the same trouble?

      It worked fine with earlier version, we shifted to 4.0.4 GA for supporting both ssl &non-ssl in ejb3 through annotations....