Digest authentication problem
From: Javier Duran (jduran@mareigua.com)
Date: 08/22/02
- Next message: Grant Holdom: "RE: HttpClientCertificate IsValid method"
- Previous message: Andy Beck: "Single Authorization with html in Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Javier Duran" <jduran@mareigua.com> Date: Thu, 22 Aug 2002 14:51:13 -0700
I am trying to use a web service using HTTP
Authentication, it works fine if I use Basic or Windows
Authentication (on IIS 5.0), but when I use Digest
authentication I get an HTTP error "401:Access Denied".
I already configured the webservice directory on ISS 5.0
to work with digest authentication.
This is the code I use:
objService = New webService()
Dim objCredential As New NetworkCredential
("LOGIN", "PASSWORD")
Dim objCache As New CredentialCache()
objCache.Add(new Uri(objService.url), "Digest",
objCredential)
objService.Credentials = objCache
objService.PreAuthenticate = true
Anyone has a CLUE?
Thanks in advance,
Javier Duran
- Next message: Grant Holdom: "RE: HttpClientCertificate IsValid method"
- Previous message: Andy Beck: "Single Authorization with html in Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|