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 WIF Retrieve LDAP attributes as claims from AD FS server

Completely new to ADFS, WIF, claims.. I followed the code in the question: ASP.NET web forms - how to combine WIF authentification with membership provider and role provider and was able to use it to passively authenticate user logged in against AD…
Darrow7456
  • 196
  • 1
  • 9
0
votes
1 answer

Method for Claims when dealing with complex types

Not sure how to go about answering this question in a way that will not lead to a discussion. However, we are building a commercial application. We've chose to use Identity as our form of authentication. Our application security will not fit in a…
kfrosty
  • 805
  • 1
  • 8
  • 14
0
votes
1 answer

Use HttpSessionState to store Token/Claims

Is there a solution available to use HttpSessionState to store the Token ? I know we can enable session to make the authentication cookie smaller : FederatedAuthentication.SessionAuthenticationModule.IsSessionMode = true; From what I understood,…
0
votes
1 answer

clear claims in asp.net mvc 5

i have the index public ActionResult Index() { ClaimsIdentity nd = new ClaimsIdentity(new List{ new Claim("role","manager") }); ClaimsPrincipal.Current.AddIdentity(nd); …
Aflred
  • 4,435
  • 6
  • 30
  • 43
0
votes
1 answer

quickest way to implement .net authentication in Web Forms with Entity Framework 6

I have been checking resources to implement authentication in my web forms application built with entity framework. All examples I found are MVC-related. I have used regular Asp.Net Membership framework a long time before I began to use EF. However,…
0
votes
1 answer

Make WCF call ClaimsAuthenticationManager.Authenticate only once per session

I setup a custom ClaimsAuthenticationManager for my wcf service. Now I found out that the method ClaimsAuthenticationManager.Authenticate is executed for each and every wcf call. Instead I want to have it executed once per session to avoid…
driAn
  • 3,245
  • 4
  • 41
  • 57
0
votes
1 answer

Managing ClaimsPrincipal.Current in Forms Authentication MVC app

We use the excellent Thinktecture IdentityServer v2 to manage our authentication. This works with an underlying SqlMembershipProvider architecture. I'd like to manage an ASP.NET MVC4 web application connection with the informations (claims) returned…
0
votes
1 answer

Claims-based authentication: What is the purpose of a claim issuer?

What is the purpose of the Issuer claim? Do I need to set one when creating a ClaimsIdentity and/or check for one when accessing that ClaimsIdentity from a Web API controller?
mayabelle
  • 9,804
  • 9
  • 36
  • 59
0
votes
1 answer

After UseOpenIdConnectAuthentication, how to put claims from Security Token into Controller.User (Current HttpContext) that are in OwinConext.User?

I have VS2013 MVC5 project with Individual User Accounts. I modified Startup {Configuration(IAppBuilder app)} so that UseOpenIdConnectAuthentication is the only allowed authentication. Users can register in the AspNetIdentity DB using the out of…
0
votes
1 answer

IIS 8.5 hangs for 24-34 seconds on worker process dynamic module Microsoft.Owin.Host.SystemWeb.OwinHttpModule

I am using OWIN to implement Microsoft's Identity 2.0 in an MVC5 application. Everything works fine in my development environment (VS 2013 - V12+ Update 4, IIS Express). However when I upload the application to my IIS Test Server that only runs…
0
votes
2 answers

Claims Based Authentication from SharePoint to ASP .NET

I am attempting to create a single sign on SharePoint portal. I have tried a variety of methods so if someone has a better suggestion then I am all ears, but I am attempting to do this via claims based authentication. I have a SharePoint Web…
0
votes
1 answer

Authenticate - provide login email address to lookup user identity

I am using Thinktecture AuthenticationConfiguration to provide an end point for signing tokens on my API: var authConfig = new AuthenticationConfiguration { EnableSessionToken = true, SendWwwAuthenticateResponseHeaders = true, RequireSsl…
morleyc
  • 2,169
  • 10
  • 48
  • 108
0
votes
2 answers

Cross platform authorization with Web API 2

I have a WEB API service that I intend to use with clients that range from browzers to mobile apps to windows desktop clients. All the authorization examples and documentation I have come across are more related to using claims (which only works…
user20358
  • 14,182
  • 36
  • 114
  • 186
0
votes
1 answer

how to build domain based Multi-tenant SaaS solution built using OWIN claims based authentication

I'm attempting to create a SaaS solution and i want each tenant of my application to have its own Access Control Service (ACS) server or identity server configuration, I plan on determining the current tenant by the subdomain currently being…
Madu Alikor
  • 2,544
  • 4
  • 21
  • 36
0
votes
1 answer

ASP.NET EF6 Identity 2 Update User Claims Error Updating For User

I have a web application in which I am using ASP.NET Identity 2 Claims for the access control list for Users of the site. I have all the claims available correctly in the ApplicationUser model, which has a Claims list. I am trying to clear the…