Ask a Question related to ASP.NET Security, Design and Development.
-
ALI-R #1
Calling a webservice using Kerberos
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
ALI-R Guest
-
Prob while using Kerberos in webservice
Hi, I m trying to use kerberos security method and calling a simple a WS which will display user's name. Code is as below : ... -
Calling a webservice from a webservice
Well, I dont really want to call a webservice, but the class that I need is in a webservice and I dont see the need for serialization if I am... -
Calling COM+ component from webservice
I'm a newbie with ASP.NET and webservices. I have a webservice that is calling a C# dll. This dll then calls methods in a VB COM+ component. The... -
Calling COM+ in a WebService
Can I get a sample on how to call a com+ componant in a webservice, please? This is what I have so far and I am getting an error Run-time exception... -
Webservice calling a webservice.....Error
Hi Ihave a strange problem .....or?? On one machine 1 i have a webservice A calling an other webservice B on a other machine 2 . the B service are... -
Joe Kaplan \(MVP - ADSI\) #2
Re: Calling a webservice using Kerberos
You need to read up on Kerberos delegation. That is what you need to make
this scenario work. You might start here:
[url]http://msdn.microsoft.com/vstudio/using/building/web/default.aspx?pull=/library/en-us/dnnetsec/html/SecNetHT05.asp?FRAME=true#ImplementKerberos[/url]
[url]http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/tkerberr.mspx[/url]
Also, this newsgroup is full of Kerberos delegation posts that you can find
with Google.
Joe K.
"ALI-R" <newbie@microsoft.com> wrote in message
news:eb6QkGy$EHA.3504@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
>
>
>
>
Joe Kaplan \(MVP - ADSI\) Guest
-
Chris Rolon #3
Re: Calling a webservice using Kerberos
As Jow said you need to read up on delegation. Basicalliy you need to enable
the server and the account for delegation. Then the credentials will flow.
Chris Rolon
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
in message news:OeohoQy$EHA.2032@tk2msftngp13.phx.gbl...[url]http://msdn.microsoft.com/vstudio/using/building/web/default.aspx?pull=/library/en-us/dnnetsec/html/SecNetHT05.asp?FRAME=true#ImplementKerberos[/url]> You need to read up on Kerberos delegation. That is what you need to make
> this scenario work. You might start here:
>[url]http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/tkerberr.mspx[/url]>find>
> Also, this newsgroup is full of Kerberos delegation posts that you canrequesting> with Google.
>
> Joe K.
>
> "ALI-R" <newbie@microsoft.com> wrote in message
> news:eb6QkGy$EHA.3504@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 userweb> > my webpart and because credential lasts only for one connection ,whenuser> > 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>> > identity,but I don't know how to use it in this scenario.
> >
> >
> >
> >
> >
> > Is there somebody who can give me some hints?
> >
> > Thanks
> >
> >
> >
> >
>
Chris Rolon Guest



Reply With Quote

