Announcement Announcement Module
Collapse
No announcement yet.
Triggering Remember Me Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Triggering Remember Me

    Hi everyone,

    I recently upgraded to ACEGI 0.8 and wanted to enable the remember me functionality. I put everything into my applicationContext file and am receiving this message when I try to use the functionality.

    DEBUG [Servlet.Engine.Transports : 1] TokenBasedRememberMeServices.loginSuccess(563) | Did not send remember-me cookie (principal did not set parameter 'rememberMe')

    So I checked the line of code and found this
    if (!RequestUtils.getBooleanParameter(request, parameter, false)).. return

    In looking at the spring class it looks like the request needs to have the parameter set (in my case I called it rememberMe) to true, 1, or on to make this conditional evaluate to false..

    However, when I make my original url request with rememberMe=true in it, I still get the same message. Any idea how to create the remember me cookie?

    -Matt

  • #2
    See the Contacts Sample, "filter" version, acegilogin.jsp:

    Code:
    <input type="checkbox" name="_acegi_security_remember_me"></td><td>Don't ask for my password for two weeks</td>
    HTH

    Comment

    Working...
    X