More than one UserDetailsService registered. Please use the link to a specific identifier in the <remember-me / "> <openid-login /"> or <x509 / "> elements
I am trying to enable a memory function using spring security
<bean id="userService" class="mypath.service.UserDetailsServiceImpl" /> <security:http auto-config='true'> <security:intercept-url pattern="/Login" filters="none" /> <security:form-login login-page='/Login' authentication-failure-url="/Login?login_error=1"/> <security:remember-me data-source-ref="dataSource" /> </security:http> However, it looks like I'm pointing userService somewhere in the remember-me element? How to do it.
The error I get when starting tomcat is -
More than one UserDetailsService registered. Please use a specific Id reference in <remember-me/> <openid-login/> or <x509 /> elements. +6