Hi,
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:
@Observer(JpaIdentityStore.EVENT_USER_AUTHENTICATED) 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?