1
0
mirror of synced 2026-08-04 09:17:02 +00:00

Make error message when multiple UserDetailsServices are found more explicit.

This commit is contained in:
Luke Taylor
2008-12-21 13:29:42 +00:00
parent 0d7002e322
commit f5d2e7a7ce
@@ -109,7 +109,7 @@ public class UserDetailsServiceInjectionBeanPostProcessor implements BeanPostPro
} else if (beans.size() > 1) {
throw new SecurityConfigurationException("More than one UserDetailsService registered. Please " +
"use a specific Id in your configuration");
"use a specific Id reference in <remember-me/> <openid-login/> or <x509 /> elements.");
}
return (UserDetailsService) beans.values().toArray()[0];