I have implemented a small application which uses spring security and remember me services. It is working fine if I use
<authentication-provider>
<user-service/>
//hardcoded the userName/Password here.
Even after server restart I am able to access the application without the login. but when i modifiefd the app-security.xml to use
<authentication-provider>
<jdbc-user-service id="userService" data-source-ref="dataSource"
users-by-username-query="
query here..."
authorities-by-username-query="
query here..."/>
</authentication-provider>
It is not working. Please give more information how can I implement remember me (TokenBaserRememberMeServices with jdbc-user-service). Any help will be appriciated. Thanks.