5 Replies Latest reply on Apr 22, 2009 10:55 AM by cash1981

    Event org.jboss.seam.security.alreadyLoggedIn doesnt work


      In the seam documentation it says:

      Event key: org.jboss.seam.security.alreadyLoggedIn
      Raised when a user that is already authenticated attempts to log in again.

      But this is never fired.
      I have this listener:

          public void alreadyLoggedIn() {
               //If we have a user still
               SystemLog sysLog = new SystemLog();
               sysLog.setUsername((currentUser == null ? "" : currentUser.getUsername()));
               sysLog.setDate(new Date());
               //Logout the user and throw exception
               //throw new SaksappException("Brukeren er allerede logget inn");

      Why doesnt this work?