The moose likes Spring and the fly likes Custom authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Custom authentication" Watch "Custom authentication" New topic

Custom authentication

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230

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.

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
By the way, I'm using Spring 3.0.5
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

See if this helps


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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Custom authentication
Similar Threads
Spring Security - Choosing Authentication Provider at runtime
authentication with request dispatch
Cookie object return incorrect value
Q64 HFSJ Mock exam
How to configure Axis stubs for Integrated Windows Authentication ?