title: Grails Spring Security Remember Me
body: <p>I have a custom auth provider working against a REST API and now want to implement Remember Me functionality.</p>
  
  <p>Here's what I have in Config.groovy:</p>
  
  <pre><code>grails.plugins.springsecurity.providerNames = [
     'zubAuthenticationProvider',
     'rememberMeAuthenticationProvider'
  ]
  grails.plugins.springsecurity.auth.loginFormUrl="/login"
  grails.plugins.springsecurity.rememberMe.cookieName="example1"
  grails.plugins.springsecurity.rememberMe.key="example1"
  </code></pre>
  
  <p>I can't see the peristent cookie actually being set on successful login.  Am I missing something in config?  </p>
  
  <p>** UPDATE **
  I can get a cookie to be created if I add:</p>
  
  <pre><code>grails.plugins.springsecurity.rememberMe.persistent = true
  </code></pre>
  
  <p>But, that just leads to another problem of not using a database for login storage.</p>
  
  <p>Thanks in advance,
  Todd</p>