2 Replies Latest reply on Dec 19, 2007 6:55 AM by Tobias Kilian

    Identity, rememberMe and autologin

    Monkey Den Master

      Despite Christian's opinion of auto-login this is precisely what my requirements are. I've been looking for a way to load the user record when identity.getIsRememberMe() returns true. I put this code in my components.xml file in hopes that the autologin method would be called Seam Security discovered that isRememberMe was true.

      <event type="org.jboss.seam.rememberMe">
       <action expression="#{loginAction.autologin}"/>

      And the method:
      public String autologin(){
       log.debug("Logging in by 'Remember Me'");
       return "";

      Do I have to annotate the handle method with anything?