title: Spring Security - How to include "remember me" using custom authentication provider
body: <p>I know for the feature of remember me you need to use <code>UserDetailsService</code>. but after going thought stackoverflow I found <a href="https://stackoverflow.com/questions/7331784/spring-security-remember-me-with-custom-authentication-provider">answers</a> which mentioned to use <code>UserDetailsService</code> in custom authentication provider. but i dont know how it is done. can anyone explain how implement <code>UserDetailsService</code> while using custom authentication provider for getting the remember me feature.</p>