CodeSmith Community
Your Code. Your Way. Faster!

Authentication Patch for Webservices

Latest post 05-01-2008 10:18 AM by Eric. 4 replies.
  • 04-24-2008 8:34 AM

    • Eric
    • Top 150 Contributor
    • Joined on 02-16-2006
    • Posts 25
    • Points 580

    Authentication Patch for Webservices

    I am considering writing a patch that will add authentication to the web services.

    I don't see any evidence that anyone else is working on this, but how can I make sure I'm not duplicating anyone elses efforts?

    • Post Points: 35
  • 04-25-2008 3:20 PM In reply to

    • vbandrade
    • Top 25 Contributor
    • Joined on 09-27-2007
    • Brasil
    • Posts 236
    • Points 5,955

    Re: Authentication Patch for Webservices

    Why dont your create a http module to handle authentication on your webservice? 

    • Post Points: 35
  • 04-28-2008 8:24 AM In reply to

    • Eric
    • Top 150 Contributor
    • Joined on 02-16-2006
    • Posts 25
    • Points 580

    Re: Authentication Patch for Webservices

    It looks like it will be easier to extend the soap headers to include authentication.

    I am unfamiliar with Codesmith template development (but I'm learning) so this seemed like the most straight forward way to handle it from the template perspective too.

    • Post Points: 35
  • 04-28-2008 11:00 AM In reply to

    • vbandrade
    • Top 25 Contributor
    • Joined on 09-27-2007
    • Brasil
    • Posts 236
    • Points 5,955

    Re: Authentication Patch for Webservices

    Well, I suggested a http 'cause that´s what we've done here to authenticate to our webservices since we dind´t want to add every new user to AD.

    • Post Points: 35
  • 05-01-2008 10:18 AM In reply to

    • Eric
    • Top 150 Contributor
    • Joined on 02-16-2006
    • Posts 25
    • Points 580

    Re: Authentication Patch for Webservices

    Got it. It looks like for my purposes it will be easiest to implement it using AD/Local windows accounts. I did try to implement it by extending the soap headers but I couldn't make the refrence in VisualStudio work anymore and I couldn't make the webservice client connect.

    My current plan is to create one user designed to access the web services and then embed that user's login information in the web services client. This will secure the webservices againt access by the general public. Any other access/permissions issues will be handled at the application level. So for my application I will have a seperate login process which will then classify the user's roles and permissions. In the background the webservice client will use the windows account in order to be allowed to make Webservice calls.

    • Post Points: 5
Page 1 of 1 (5 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems