wood burning stoves 2.0*
The moose likes Spring and the fly likes Preauthentication problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Preauthentication problem " Watch "Preauthentication problem " New topic

Preauthentication problem

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230

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

Joined: Jan 22, 2007
Posts: 196
Try with following.
John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Thanks, I all did was implement UserDetailsService in XXXAuthenticationUserDetailsService
subject: Preauthentication problem
Similar Threads
Spring security - Mysql - problem
“j_spring_security_check” not found after configuring spring security without http namespace
Using other Authentication Providers
Spring Security 3: Salting password issue
Spring : how to redirect to login page on session timeout