Re: How to Authenticate with a Webservice using Kerberos
From: Chris Rolon (chris.rolon_at_removethis.neudesic.com)
Date: 01/30/05
- Next message: Chris Rolon: "Re: Set Protection to a folder"
- Previous message: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- In reply to: ALI-R: "How to Authenticate with a Webservice using Kerberos"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 30 Jan 2005 10:13:23 -0800
The problem does sound like a flow of identity problem.
The advice given to use Kerberos is sound but incomplete. Bothe the machine
and the user account must be enabled for delegation. Once enabled, the
credentials will flow with the call.
-- Chris Rolon "ALI-R" <newbie@microsoft.com> wrote in message news:e70dCGy$EHA.1264@TK2MSFTNGP12.phx.gbl... > 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 > > > >
- Next message: Chris Rolon: "Re: Set Protection to a folder"
- Previous message: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- In reply to: ALI-R: "How to Authenticate with a Webservice using Kerberos"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|