2 Replies Latest reply on Jan 21, 2009 10:54 AM by Jens Weintraut

    identity rememberme

    Csaba Nemeth Newbie

      I am trying to get identity rememberme to work for login.
      I am using 2.1.0.A1 on Tomcat 6.0.14 on jdk1.6.

      The cookie is set properly in the browser, but when revisiting the page the username is not set on the identity.

      I debugged FacesSecurityEvents.initCredentialsFromCookie and FacesContext.getCurrentInstance() returns null - so the request and the cookies cannot be accessed by that code.

      Is there any setting needed in components.xml other then <security:identity remember-me="true" />?

      Login on its own works, only remember me that does not.

      Is it possible to access FacesContext.getCurrentInstance() in an observer code?