I\'m using Spring 3.0.7 and I created bean via of UserDetailsService in spring-secrutiy.xml to use it as provider of users in
UserDetailsService