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
28
votes
4 answers

WCF: The request for security token could not be satisfied because authentication failed

I have written a very simple WCF Service that sends and receives messages. I have tested the app through the VS 2008 default web server host and everything works fine. But when I deploy the WCF service to another computer's IIS I receive the…
mrtaikandi
  • 6,753
  • 16
  • 62
  • 93
19
votes
3 answers

Connect with WCF to a WebService authenticated with username/password

I created a proxy of a Web Service with Visual Studio 2008, and it created for me the following entry in the app.config:
antonioh
  • 2,924
  • 6
  • 26
  • 28
5
votes
1 answer

WCF and Silverlight 4.0 in N-Tier App : authenticate calls to the service

I have an N-Tier app which built as follows: On the server side in IIS7 is sitting an ASP.Net Application that exposes methods on a WCF Service. Those methods talk to the DB using EF4. Clients written in Silverlight 4.0 are calling the methods on…
Yaron Levi
  • 12,535
  • 16
  • 69
  • 118
5
votes
1 answer

Authenticating to a WCF service

There seems to be a plethora of resources out there on how to do this, but I haven't really been able to find anything to exactly do what I want to do. I'm trying to create a WCF web service that will require users to authenticate to be able to do…
Kyle
  • 4,261
  • 11
  • 46
  • 85
4
votes
1 answer

How do I pass username/password credentials from php client to self-hosted wcf service?

I have a self-hosted wcf service that just adds 2 numbers and returns the value. It works fine, but I am not sure how I can send the username and password through the php client, so it will validate against my CustomUserNamePasswordValidator. Here…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
4
votes
3 answers

How to authenticate in WCF services in BasicHttpBinding?

I am developing WCF services with basicHttpBinding, these services should be accessible using .net 1.1 & .net 2.0, for this purpose I am using basicHttpBinding. In old ASMX web services I assed one Soap Header (AuthHeader) to authenticate the user…
nRk
  • 1,251
  • 7
  • 24
  • 50
4
votes
1 answer

Unique Certificate Authentication and REST service

I am gathering information for implementing a certificate authentication scheme for a system that requires mobile device clients to be authenticated with a certificate before they can be granted access to services used by the system. I am looking…
3
votes
1 answer

WCF - Why does 'CustomAuthorizationPolicy' create a 'CustomPrincipal' on every operation?

I am developing a WCF service, with a custom USERNAME-PASSWORD validator. I have a CustomUserNameValidator that inherits from UserNamePasswordValidator. I also use a CustomAuthorizationPolicy that inherits from IAuthorizationPolicy. The Evaluate…
John Miner
  • 893
  • 1
  • 15
  • 32
3
votes
1 answer

WCF Service Authentication from MVC App sharing same Membership Provider

I have an MVC Application on X domain and a WCF Service in Y domain, and I want to use the same membership provider for both of them. The WCF Service is in Y domain because the data is in an intranet server, and the MVC Application is in X domain…
sergioadh
  • 1,461
  • 1
  • 16
  • 24
2
votes
1 answer

Passing windows identity to WCF from ASP.NET

I have a WCF service hosted in IIS with integrated windows authentication enabled and anonymous authentication disabled. When I try and call this service from ASP.NET, I'm getting the following MessageSecurityException: "The HTTP request is…
2
votes
1 answer

wcf Authentication Token Implementation - How to do

I need to implement token authentication between the user of my wcf services and my server. 1- User will request a token with his username, nickname and password from server and server will respond with a token if the credentials are…
tugberk
  • 57,477
  • 67
  • 243
  • 335
2
votes
2 answers

WCF, Certificate Authentication - Common Errors and Confusing Arguments

I am trying to setup a WCF service to use a Certificate for Authenticating the client. I have read tons of posts on how to create the certificate, and I have been able to do so (finally). I am installing the Cert Authority and the Cert on a server…
2
votes
0 answers

Architecture advice needed for WCF services

I'm currently working on a backend infrastructure and I could need some advice. First, here is the current global architecture: I have WCF services hosted in IIS I have multiples databases hosted on SQL Server. One ClientData database per client…
2
votes
2 answers

How can I get serviceCredentials > windowsAuthentication > allowAnonymousLogons to work in WCF?

I have a WCF service exposed as a netTcpBinding. On the service side:
SharePoint Newbie
  • 5,974
  • 12
  • 62
  • 103
1
vote
1 answer

Adding Security for Custom WCF MessageHeaders in Silverlight platform

How can we add security for custom message headers of WCF Service in Silverlight service. For example, I want to pass a important (authenticated) string value ( credentials) through WCF Message Headers. Is there any possibility to pass the secured…
Suriya
  • 848
  • 10
  • 15
1
2 3