Web service, forms authentication and DefaultCredentials



Hello All,

I have a webservice application (ASP.NET 2.0) and a .NET client executable
which consumes the web services. The current model has username / password
collected by the client application and passed to the webservice. What I am
required to do is to make this application use active directory to
authenticate the users and possibly implement a single sign on.

I can easily extend the existing model where I collect the username /
password pass it to the server construct a NetworkCredentials object on the
server and authenticate it against the active directory, what I've been
asked to do is as follows :

Collect the current user's credentials
(CredentialCache.DefaultNetworkCredentials) from the machine where the
client executable is running, and (somehow) pass this credentials object to
the server and on the server authenticate this object against the active
directory. My questions are 1) Whether this is possible and 2) If this is
possible, is this the correct approach? I have found lots of articles which
suggest using integrated windows authentication on IIS, however I am being
forced to not use it.

Can anyone please help me? guide me to any 'howto' article or something like
that.

TIA,

SP


.



Relevant Pages

  • Re: No username prompt SSHD
    ... it is the client side. ... The client takes the current user and passes that to the server as the ... To override this you must supply a username to the client in one of two ways: ... $ ssh -l login serveur ...
    (SSH)
  • Re: Java GSS/Kerberos issue - Autheticating server
    ... I can authenticate as that particular principal in the client portion of the ... I have a server and a client portion of code that pass GSS-wrapped kerberos ... Client authenticates to kerberos server and logs in, ...
    (comp.protocols.kerberos)
  • Re: XP Client Cant Log In To Server After Initial Setup
    ... username, and the domainname is the netbios name of your domain (you can ... check that on the server). ... "Bob N." ... I logged onto one of the client ...
    (microsoft.public.windows.server.sbs)
  • Re: ISA Server 2000 and Terminal Server 2000
    ... Does the ISA server ask for username and password when accessing the web ... Do I need to install the ISA Client on the TS? ...
    (microsoft.public.isa)
  • Re: Stange access problem
    ... This one user cannot access his Exchange account, ... the internet, or any other server resource, even after logging on with his ... it asks for his username and password. ... There are no strange problems installed on the client computer. ...
    (microsoft.public.backoffice.smallbiz)