• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom authentication

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

I have a web service which requires authentication which is not JDBC or LDAP. I believe I have to write my own "authentication provider" to do this. However, I can not find a straightforward guide out there for doing this. I have small pieces of information. If anybody has a reference for this I would appreciate it.


Thanks
Eric
 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, I'm using Spring 3.0.5
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if this helps

http://www.theserverside.com/tip/-Spring-Security-Customizing-Your-User-and-Authorization-in

I wrote that article, where I customized the lookup of the user information by creating my own UserDetailsService implementation.

Mark
 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mark, this is great! I haven't tried it yet but it seems to be what I need. And its a lot simpler than I thought. I don't know why I can't find this information elsewhere.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic