Questions tagged [wif]

The Windows Identity Foundation is a free Microsoft library that enables claims based authentication and use federated identity/single sign-on in their applications.

The Windows Identity Foundation is a free Microsoft .NET library that enables claims based authentication and use federated identity/single sign-on in their applications.

It is part of Microsoft's wider identity and access management strategy which includes Active Directory Federation Services and Windows Azure Access Control Services.

1279 questions
25
votes
4 answers

How to convert SAML XML token string to either SecurityToken or ClaimsPrincipal instance?

My context: .Net RESTful web service Client (mixed platforms, technologies, lib capabilities) has obtained a SAML token Trying to accept the token for authentication/authorization in the REST service in HTTP Authorization / X-Authorization…
Tyler
  • 859
  • 1
  • 8
  • 10
24
votes
2 answers

Microsoft.IdentityModel vs System.IdentityModel

I'm working on a claims-based authorization system using Forms Authentication and ASP.NET MVC 2. I see that one namespace "Microsoft.IdentityModel" provides a lot of the same things as the other "System.IdentityModel". System.IdentityModel…
dreadwail
  • 15,098
  • 21
  • 65
  • 96
24
votes
3 answers

WIF 4.5 BootstrapContext security token null

I am using the new 4.5 WIF stuff to authenticate users of the website and to secure the communication between my MVC website and WCF services. I have the website configured to save the bootstrap context so that I can re-use the same security token…
Matt
  • 354
  • 3
  • 11
24
votes
1 answer

ACS installed but MVC 4.0 app still redirects and fails to find login.aspx

First post here on stackoverflow but I love the site!... I've successfully created a fully functioning Azure hybrid model application using MVC 4. Published and works great. Now I want to add ACS for auth to my site. I've followed all the steps…
barnesbuilt
  • 241
  • 2
  • 4
23
votes
9 answers

Why am I getting the "A potentially dangerous Request.Form value was detected from the client" error?

I've created a new ASP.NET MVC 3 / .NET Framework 4.0 site using the "Internet Application" template. I used Nuget to install the Windows Azure Web Role (MVC3) package and then followed the Access Control Service walkthrough to set up Windows Live…
Alex Angas
  • 59,219
  • 41
  • 137
  • 210
23
votes
5 answers

ASP.NET MVC 2 and authentication using WIF (Windows Identity Foundation)

Are there any decent examples of the following available: Looking through the WIF SDK, there are examples of using WIF in conjunction with ASP.NET using the WSFederationAuthenticationModule (FAM) to redirect to an ASP.NET site thin skin on top of a…
Russ Cam
  • 124,184
  • 33
  • 204
  • 266
22
votes
6 answers

Cannot find a unique certificate that matches the criteria

I am running into the following error when attempting to parse my token: Property name: 'certificateReference' Error: 'ID1025: Cannot find a unique certificate that matches the criteria. StoreName: 'My' StoreLocation: 'LocalMachine' X509FindType:…
Kjaneb
  • 231
  • 1
  • 2
  • 5
21
votes
0 answers

(WindowsPrincipal vs GenericPrincipal vs ClaimsPrincipal)'s Identity property

TL;DR. I'm writing this up to potentially help someone else's googling in the future as I found no documentation on this particular behaviour, and partly on the hope that someone could confirm (or deny) that this is the correct approach (in summary…
21
votes
3 answers

.NET Claim in three namespaces

Now this is odd. After completing some research on claims based solutions in .NET, found that different authors refer to different classes in .NET namespace when actually speaking on the same matter. Claim class (not to mention other Identity,…
StaMai
  • 121
  • 2
  • 5
20
votes
2 answers

Simple claims transformation and caching w/ windows authentication

For the past few days I've been reading about the windows identity foundation and how it's so good and flexible and built right into .net 4.5. Despite going over dozens of apis, blog posts, how-to's etc. I can't for the life of me get a simple…
John
  • 523
  • 3
  • 12
19
votes
2 answers

Azure/web-farm ready SecurityTokenCache

Our site uses ADFS for auth. To reduce the cookie payload on every request we're turning IsSessionMode on (see Your fedauth cookies on a diet). The last thing we need to do to get this working in our load balanced environment is to implement a farm…
Jeremy Danyow
  • 26,470
  • 12
  • 87
  • 133
19
votes
3 answers

How does the "ASP.Net Identity" compare with "Windows Identity Foundation"?

I found this nice article that shows the evolution of the ASP.Net identity frameworks: http://www.asp.net/identity/overview/getting-started/introduction-to-aspnet-identity However, I'm interested in how the Windows Identity Framework (WIF) fits into…
Josh Mouch
  • 3,480
  • 1
  • 37
  • 34
19
votes
7 answers

Where can I find Microsoft.IdentityModel.Extensions.dll library?

I'm searching for Microsoft.IdentityModel.Extensions library. In documentation that I'm reading they suggest that it should be available in my GAC, but its not. I'm using Visual Studio 2012. Where can I find it?
Łukasz W.
  • 9,538
  • 5
  • 38
  • 63
18
votes
4 answers

.net n-tier identity & authorization in service architecture

I'm building an application where the requirements seem standard issue (at least to me)... I have a Web.UI based on asp .net mvc & clients from iphone, andriod & blackberry. So the sensible thing to do is to move all my business logic into a…
Jonathon Kresner
  • 2,793
  • 5
  • 29
  • 40
18
votes
4 answers

Active and Passive Federation in WIF

I am trying to understand the difference between Active and Passive federation in WIF. It appears that one would use an Active Federation if the Relying Party (RP) is a WCF Service instead of an ASP.NET application and a Passive Federation if the RP…
Nick
  • 7,475
  • 18
  • 77
  • 128
1
2
3
85 86