Results 1 to 2 of 2

Thread: Triggering Remember Me

  1. #1

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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

Similar Threads

  1. Replies: 2
    Last Post: Sep 20th, 2005, 12:59 AM
  2. Remember Me & CredentialsExpiredException
    By aburgel in forum Security
    Replies: 3
    Last Post: Mar 17th, 2005, 06:07 PM
  3. Remember Me vs. Anonymous Authentication
    By eisenb in forum Security
    Replies: 2
    Last Post: Mar 11th, 2005, 01:27 PM
  4. Replies: 3
    Last Post: Nov 19th, 2004, 07:16 PM
  5. Transaction pb Hibernate/MySQL
    By syluser in forum Data
    Replies: 2
    Last Post: Aug 28th, 2004, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •