Questions tagged [claims]

Claims were introduced in .NET4.5 to build Claims based authentication into the framework in the form of ClaimsIdentity and ClaimsPrincipal in the System.Security.Claims namespace.

Claims were introduced in .NET4.5 to build Claims based authentication into the framework in the form of ClaimsIdentity and ClaimsPrincipal in the System.Security.Claims namespace.

459 questions
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
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,434
  • 7
  • 52
  • 108
0
votes
1 answer

ADFS Claims Trust Provider with expired certificate

Hi I have multiple IDPs registered under our ADFS Claims Trust Provider. One of the IDP's federation metadata has expired certificate. Corresponding party has successful integration (with expired certificate) with other 3rd party Service Provider…
Nile
  • 13
  • 1
  • 5
0
votes
1 answer

Select statement to convert phone type

I have a custom claims rule in ADFS, and the way the database is set up, we have a table that goes by PhonetypeID. The PhonetypeID then corresponds to a certain phone type(i.e. home, cell, work, other). I am getting an error in ADFS because these…
Skrubb
  • 481
  • 1
  • 6
  • 22
0
votes
0 answers

Where to put redirect-code in MVC application using claims-based authentication

I have setup ADFS to return the following claim: UseragreementAccepted: true/false When I reach my MVC-application I want to inspect this claim, and if value==false I want to redirect the user to a completely different web-application where the user…
0
votes
1 answer

Add extra parameter to every WCF call

We have WCF services (web hosted in IIS) separatd by domains. We added some claim based security by adding ClaimsAuthorizationManager and overriding the CheckAccess method. Basicaly, we check if the ClaimsPrincipal have the permission needed to…
Patrice Cote
  • 3,373
  • 9
  • 40
  • 72
0
votes
1 answer

How to deal with stale claims in WIF?

How to deal with stale claims in WIF? Here's the setup: I have a WIF STS that provides authentication for many different MVC web applications. The STS also provides claims, like privileges, email, etc. I have an MVC application we'll call MyApp…
0
votes
1 answer

Receiving a list of values in a Claim from ADFS

I am running an MVC5 project that authenticates with claims received from ADFS. For a specific claim type, I need to include a list of organizations that the user has access to see. Can this be done by including the list as properties of the Claim,…
severin
  • 4,429
  • 4
  • 30
  • 44
0
votes
1 answer

Loss Development Triangle - Is there an MDX Query to build this into a cube?

Background In Insurance, a loss development triangle breaks down the cumulative costs (IE: Dollars paid for claims) over consistent development periods. The purpose is to help you see the progression of claim costs year by year over the same period…
0
votes
1 answer

Asp.Net MVC HTTP Error 401.0 – Unauthorized

I have an MVC application, which uses claims authorization, based on great tutorial available here. In the code I override CheckAccess method of ClaimsAuthorizationManager to implement my own logic against each resource and action public class…
0
votes
1 answer

How do I define the response to a missing claim in NancyFX?

I have a module meant to enable administrators to manage users. Of course, this module requires not only authentication but also a specific claim. I have discovered that, if you are missing the claim in question, you actually get only a blank page…
user1949917
0
votes
1 answer

How to send AD-groups from specific location in AD as role claims in ADFS

I want my ADFS 2012 R2 to send group-membership from a specific location in Active Directory, how can I do this? I tried "Send LDAP attributes as claims", Token-Groups - Unqualified Names => Group, but that gives me every group the user is a member…
Thomas
  • 265
  • 3
  • 15
0
votes
1 answer

SAS - determining time periods of medication use as well as time periods of no medication use

I am workin with prescription claims data. Subject X has 20 rows showing the dates he filled his prescriptions. Upto observation 5 he fills his prescription monthly. This is time bloc 1. The next observation has a fill date of 2 years later and has…
Terah
  • 57
  • 6
0
votes
1 answer

web.config convert saml security token to claim principal

I have problem to validate the security token, i tried to use your code and other too, but when it try to validate ST I have thi error: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens…
0
votes
2 answers

Why RP and IP communicates through browser instead of going directly?

Why is RP using browser as a mediator, Why can't RP redirect directly to IP before authentication and vice versa after authentication? I came up with some reasons but couldn't convince myself.. so asking you :) 1) RP and IP cannot keep a line of…
Blue Clouds
  • 4,483
  • 2
  • 30
  • 53