views:

415

answers:

1

Dear Sirs, I want to use a Spring Security's "Rememeber me" with LDAP autentication. LDAP autentication configuration is described here, I've just made a tiny changes. Could you explain me how can i add "Remember me" in that configuration? Or, may be, you can give me a sample which describe how can i do it. Thank you.

+1  A: 

This link should help:

http://static.springsource.org/spring-security/site/docs/3.0.x/reference/remember-me.html

Important note:

If you are using an authentication provider which doesn't use a UserDetailsService (for example, the LDAP provider) then it won't work unless you also have a UserDetailsService bean in your application context.

Gearóid