Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Preauthentication problem

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:

I am trying to get to PreAuthentication working. I am following the official Spring docs but have missed something. I get the following error:

"Cannot convert value of type [yyy.zzz.security.XXXXAuthenticationUserDetailsServ ice] to required type [org.springframework.security.core.userdetails.User DetailsService] for property 'userDetailsService': no matching editors or conversion strategy found"

Somehow I am not wrapping my service correctly. Any help would appreciated. Eric.







 
Piyush Mangal
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try with following.
 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, I all did was implement UserDetailsService in XXXAuthenticationUserDetailsService
Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic