How to Authenticate with a Webservice using Kerberos

From: ALI-R (newbie_at_microsoft.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 10:54:44 -0800

I'm writing a webpart which is supposed to connect to a Webserice in our
interanet.I am using "RSService.Credentials =
System.Net.CredentialCache.DefaultCredentials;"to Authenticate to the
webservice.but it dosn't work.why?

I think SharePoint which hosts my webpart authenticate the user requesting
my webpart and because credential lasts only for one connection ,when web
part wants to call webservice there is no credenatial anymore and I get 401
(Unauthorized) Error.I was told to use Kerberos because it flows the user
identity,but I don't know how to use it in this scenario.

Is there somebody who can give me some hints?

Thanks



Relevant Pages

  • Calling a webservice using Kerberos
    ... I'm writing a webpart which is supposed to connect to a Webserice in our ... I think SharePoint which hosts my webpart authenticate the user requesting ... my webpart and because credential lasts only for one connection,when web ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • How to use kerbros in a webpart(Asp.Net Custom Control)
    ... I'm writing a webpart which is supposed to connect to a Webserice in our ... I think SharePoint which hosts my webpart authenticate the user requesting ... my webpart and because credential lasts only for one connection,when web ...
    (microsoft.public.dotnet.languages.csharp)
  • Display Username on a WebPart
    ... I need to show on a WebSite the full user name in a webpart (the one they ... used to authenticate) ... "Hola Christian Strevel" ...
    (microsoft.public.sharepoint.portalserver)