Questions tagged [claims-based-identity]

Application model for presenting an identity to a claims aware application. This identity contains claim elements, such as email address or username, in a secure package from a trusted source. This model separates the application from the authentication mechanism.

Resources

Wikipedia Entry - Claims-based identity

MSDN Article - Exploring Claims-Based Identity by Kieth Brown

1595 questions
0
votes
1 answer

asp.net mvc 5 entity framework 6 identity working with trust level = medium?

Creating the simplest project (In visual studio 2013 -> asp.net web application -> MVC authentication with individual accounts), it works perfectly on localhost. However, when sending to the server (medium trust level), the project does not work…
0
votes
1 answer

Claims based access control - how to implement 'System' user?

There are three communicating parties in our system: Frontend Service A Service B plus we have stand-alone security token service, our identity provider. Authenticated user interacts with Frontend, it calls Service A, which in turn calls Service…
0
votes
1 answer

Multiple ClaimsIdentity instances for tenant and user identities

Let's assume that I have a multi-tenant .NET application where each tenant hold their own users. When a request comes to my web server, I need to first determine the tenant. Later, I will try to authenticate the user based the information passed…
tugberk
  • 57,477
  • 67
  • 243
  • 335
0
votes
1 answer

Issue in web.EnsureUser for FBA users programatically

I am trying to ensure user through web.EnsureUser for FBA users. Here is my code snipplet. as an example : string fbUsername = "i:0#.f|ie-fbamembership|userlogin"; SPUser userSP = site.RootWeb.EnsureUser(fbUsername); But i get an error user does…
0
votes
1 answer

ADFS and LiveID - email claim not part of the claim

I haven't touched ADFS before so this is totally new to me. I've done some reading on this but not sure if I'm doing this correctly. I didn't set up ADFS so I'm not exactly sure what as done but i've been told that a rule has been set up for an…
Mike Stone
  • 319
  • 9
  • 22
0
votes
0 answers

Multi-step MFA with custom ADFS 3.0 IAuthenticationAdapter

I'm setting up custom MFA providers for ADFS 3.0 by implementing IAuthenticationAdapter, I want to add another step in to the authentication process whereby, for example with email-based OTP, the user is first prompted to confirm his or her email…
0
votes
0 answers

Using SSO with multiple webapplications with their own membership implementation

I'm trying to find out if there is a way to connect multiple webapplications through SSO. I've setup Thinktecture v2 and it's already in use for some other projects. So that works fine. Each of the applications are already using the .Net Membership…
0
votes
1 answer

MVC 5 - Roles - AuthorizeAttribute outdated

In my previous post i asked how to check/add user roles, but now i face another problem. Since microsoft moved to the new Identity 2.0, AuthorizeAttribute doesn't work anymore. Is there any substitute filter for the Authorize? EDIT: I've made some…
Leandro Soares
  • 2,902
  • 2
  • 27
  • 39
0
votes
1 answer

Upgrading to Asp.Net MVC 5 breaks MyCustomRoleProvider, can't be called during the application pre-start initialization phase

What's the best way to upgrade my previous CustomRoleProvider to the new providers in Asp.Net MVC 5. I just implemented those methods and rolled out my own tables (because it's a multiple database web application). What would be the easiest and…
0
votes
1 answer

Claims not persisting in Session Token

Have seen Dominick Baier's videos on Pluralsight and most of this I got from there. I'm trying to do a claims transformation in .net 4.5, MVC. After a lot of messing around I can get the claims transformed, but can't get them to persist. If I just…
0
votes
2 answers

ASP.NET MVC ajax to WebAPI returning WIF sts redirect response

We are using a custom WIF 3.0 STS Provider for multiple projects. I am integrating that authentication to both a new MVC 4 WebApp, and WebAPI 2 Service Layer. If I browse directly to each (WebApp and WebAPI Service) I am able to correctly…
Nexxas
  • 883
  • 1
  • 8
  • 14
0
votes
1 answer

Return Windows Live ID email address from access control namespace claim

I have been configuring my access control namespace for an azure application with the identity providers and have been able to return an email address from Google and Yahoo using their claims tokens but using Windows Live ID the only identifying…
Jay
  • 3,012
  • 14
  • 48
  • 99
0
votes
1 answer

Can I use claims to secure EF fields using PostSharp?

It it possible to use claims based permissions to secure EF fields using post sharp. We have a multi-tenanted app that we are moving to claims and also have issues of who can read/write to what fields. I saw this but it seems role based…
GraemeMiller
  • 11,973
  • 8
  • 57
  • 111
0
votes
1 answer

Claims Transformation in ADFS 3.0

I'm trying to implement claims transformation module using the steps in this link. I have 2 issues- I couldn't find this dll ("System.Web.Security.SingleSignOn.ClaimTransforms.dll") any where in the ADFS server even after hooking up the Active…
ady
  • 127
  • 1
  • 1
  • 11
0
votes
1 answer

Identity 2.0 code first automatic migrations

Using Identity 2.0 in an MVC application, VS 2013. I want to extend some of the built in tables used by the membership system, and add new ones. The former works well. In IdentityModels.cs if I add some new properties to ApplicationUser, then these…