aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Preauthentication problem " Watch "Preauthentication problem " New topic
Author

Preauthentication problem

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
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

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
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Preauthentication problem