0 Replies Latest reply on Oct 20, 2009 4:21 PM by Adrien Orsier

    Remember me and events

    Adrien Orsier Newbie


      I'm trying to set up an auto-login on an already existing application and I'm getting several problems.

      Basically, my problems are due to the fact that there seem to be some missing event raising when logging in using auto-login.
      In my current application, I used this method to create my currentUser session bean:

           public void loginSuccessful(User user) {
                currentUser = user;

      User class being my @Principal class. Method which is not called at all during an auto-login. I searched a bit in the seam source but couldn't figure out how to retrieve the user authentificated, since apparently JpaIdentityStore.authenticate is not called when performing a 'tryLogin()'.

      Is there any solution/workaround to retrieve that user?