Questions tagged [wcf-authentication]

Use this tag for questions related to the Windows Communication Foundation Authentication Service.

Usually is found along with , so you may use it too, if needed.

39 questions
1
vote
1 answer

Reading ClientCredentials from SOAP Request body node and verifying it against a Custom Validator?

I have a method GetColors which takes a GetColorIdsRQ as a parameter and returns a GetColorIdsRS. GetColorIdsRQ is the SOAP Request and GetColorIdsRS is the SOAP Resposne. Here are the implementation details of each…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
1
vote
0 answers

Authenticate a IIS Hosted WCF Service from a PHP Soap Client?

I have a wcf service that is hosted in IIS 7. I have a php soap client that I want to use to access this service. It works fine with no security, but I want to be able to pass the username and password from the php client to the wcf service and…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
1
vote
1 answer

How do I capture the username and password for a WCF Service if I am not writing the client(s)?

I am writing a WCF Service that will require a username and password authentication, however, I am not responsible for writing the clients to access the service, so I am not sure how I can access the username and password. To give an example, when…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
1
vote
2 answers

WCF Rest Token based authentication

I am working on WCF Rest application I need to implement the token based authentication in it.Please suggest me a perfect way to implement the token based authentication WCF Rest.
ARUNRAJ
  • 469
  • 6
  • 15
1
vote
0 answers

WCF Service with User Authentication

i have a asp.net web app in which i take system logon name and grant him access if the user is a member of a particular AD group(PrimeMembers) Now we have moved the authentication code to a WCF Service(IsPrimeMember), and we got another WCF…
Ramu
  • 343
  • 1
  • 6
  • 21
1
vote
2 answers

WCF service certificate is not in the trusted people store

I created wcf service that should work with using certificates. My test where I’m using self signed certificates works perfect, but all changes when I’m trying to run it on the server, where certificates generates by CA. I generated client and…
Moroz
  • 217
  • 1
  • 3
  • 6
1
vote
1 answer

WCF ServiceSecurityContext Storage right for custom data?

I have a WCF application that is using Windows Authentication. So a Windows Principal object is what I will find in the System.Threading.Thread.CurrentPrincipal() property. That's is all fine. However, I also have a custom principal object that is…
TheZenker
  • 1,710
  • 1
  • 16
  • 29
1
vote
1 answer

WCF username authentication not working

I'm new to WCF service. I wanted to create a WCF service with basichttpbinding to create a custom authentication mechanism before giving access to my WCF service. I have used security mode = Transport and clientcredentialtype = basic. I have…
dreamweiver
  • 6,002
  • 2
  • 24
  • 39
1
vote
2 answers

WCF security: user name, password and one more parameter

In our project all WCF services are secured by wsHttpBinding (TransportWithMessageCredential, UserName) option. It works fine but now we need to implement the security with one more parameter (ClientId). When a WCF service gets a call it doesn't…
Igor
  • 281
  • 4
  • 12
1
vote
2 answers

WCF: Passing Username and password to another service (No Https)

I have to Create a WCF service (ServiceWrapper), which references another WCF Service(RealService). I want Clients of ServiceWrapper to pass Username/password in authentication request. The Operations of ServiceWrapper Call RealService. I need to…
Ashish
  • 21
  • 3
0
votes
1 answer

Custom Token management in WCf

I have a webservice which passes raw messages using Message in WCF, I create the header MessageHeader.CreateHeader , now i want to implement a custom token management system , so that i will pass the user name and password first time and then read…
Sharee
  • 3
  • 1
  • 1
  • 6
0
votes
1 answer

WSHttpBinding binding, client authentication

i am new to wcf and using wshttpbinding ,but i want to remove the user name and password form the service client (which i have to pass), my client code is RServiceClient serviceClient = new…
user765573
  • 21
  • 6
0
votes
2 answers

How do I propogate Windows Identity without using delegation in WCF?

I need to propagate the Windows Identity of the current user across two service calls. Service A (which runs under integrated authentication) calls Service B (which also runs under integrated authentication). I need to identify the user identity…
SharePoint Newbie
  • 5,974
  • 12
  • 62
  • 103
0
votes
2 answers

WCF Type 'System.CodeDom.Compiler.GeneratedCodeAttribute' is not defined

I am following this tutorial that shows how to implement a WCF authentication Service. I have done exactly step by step as detailed. But after adding all the proxy classes when I try to build the project, it gives me some 68 Errors and few are…
Mitul
  • 9,734
  • 4
  • 43
  • 60
0
votes
1 answer

Sending login and password through PHP Soap Client doesn't get picked up by WCF Service Host?

I am instantiating a PHP Soap Client like this: $client = new SoapClient('http://localhost:8731/MathService?wsdl',array( 'login' => "test2", 'password' => "test")); When I do this above, the Request contains: Authorization: Basic…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432