aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Custom authentication" Watch "Custom authentication" New topic
Author

Custom authentication

John Eric Hamacher
Ranch Hand

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

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

Joined: Feb 05, 2001
Posts: 17257
    
    6

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


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