1
vote
1answer
48 views

Is there a ClaimTypes property to represent “city”?

I've been looking at the various System.IdentityModel.Claims.ClaimTypes properties (Class reference) to see if there is a pre-defined type for each of my user model attributes. It appears that there ...
0
votes
2answers
156 views

UserPrincipal.FindByIdentity sometimes failing with DirectoryServicesCOMException: An operations error occurred

We are a team where everyone of us experience this somewhat random error. The error is listed below and appears on the line: UserPrincipal.FindByIdentity(principalContext, ...
0
votes
1answer
38 views

Why getting WindowsPrinciple in AuthorisationManager in asp.net

I am trying to implement claim based security in web application. I have a class like. public class AuthorisationManager : ClaimsAuthorizationManager { public override bool ...
0
votes
2answers
202 views

How to set custom principal in asp.net

I am new to web application. I have created a custom principle and trying to set it in CurrentDomain. This code works perfectly in WPF application. But here it is throwing Policy Exception "Default ...
1
vote
2answers
246 views

Client Certificates and Claims-Based Identity in Web API

If a client accessing an endpoint implemented as an ASP.NET Web API Controller over HTTPS provides a client certificate, that certificate is available through Request.GetClientCertificate. However, ...
0
votes
1answer
200 views

ADFS 2.0 time out and relation between Freshness Value,TokenLifetime and WebSSOLifetime parameters

I am interested to know the relation between Freshness Value,TokenLifetime and WebSSOLifetime parameters in ADFS 2.0 time out scenario. I have already did my bit of analysis on this and I am yet to ...
0
votes
0answers
75 views

Converting existing forms authenticated application to claims

I have a ASP.NET based CMS that used to work with forms authentication for both the CMS backend login and for the member section (for my customers) login in the front end. Now the new version of this ...
0
votes
1answer
45 views

How to genreate a sts claim with default values for development and testing

We a have asp.net webform application where we use STS claims to manage user authorization. The workflow is pretty straight forward. User hits a login page enters credentials, a claim is generated ...
0
votes
1answer
32 views

what amount ASP.NET that i need to learn for wif [closed]

I'm planning to use claim based identity in my graduation project, ه as i know i need to learn some ASP.NET,since there's no time to study the whole of ASP.NET i would like to know what are the core ...
0
votes
2answers
89 views

ClaimsPrincipalPermission - Error Code

I use the ClaimsPrincipalPermission for authorization in my asp 4.5 website. This works fine. But when the user tries to call a page which he is not allowed the error code returned is a 500 and not ...
2
votes
1answer
177 views

Allow or deny access to entire site based on Claim

I have a FubuMvc website that uses Claims based authorization from a WIF single signon server. The Authentication happens on the SSO and the claims including roles and a set of custom claims are ...
2
votes
1answer
217 views

Consuming WCF webservice using STS authentication token

I am looking for something that I haven't been able to find out as yet.. Can you please tell me that if there's a way that I can use, the token returned by the STS, with a claims aware WCF webservice. ...
0
votes
1answer
195 views

ADFS relying party authentication

I have a relying party asp.net webapp and the users are authenticated by a ADFS Security Token Service (STS). Users from 2 domains are part of a security group which is used by the STS to check ...
1
vote
1answer
213 views

Use claim token in ASMX WebService Request

I have an ASP.Net Web App which is secured using claims based authentication, currently the IP is Azure ACS, which in turn calls my domain's ADFS (but in theory it could be many different types, e,g, ...
1
vote
1answer
407 views

web.config transform for microsoft.identitymodel configsection

How does one go about transforming the audienceUris and federatedAuthentication elements in the microsoft.identitymodel configuration section using the standard visual studio web.config transforms? ...
0
votes
1answer
371 views

Using my old membership provider in SharePoint 2010

I've got a custom membership provider that I use both in SharePoint 2007 services and in .NET web apps. Now I'm trying to update the SharePoint platform to 2010 Foundation and my provider doesn't ...
0
votes
0answers
126 views

Transferring context information with WIF in a ASP.NET & WCF scenario

I'm interested in using Windows Identity Foundation for a new software architecture, but it isn't clear how to transport necessary context information between the client and server. Before I start ...
0
votes
0answers
491 views

Passing SWT token from Azure ACS to my application

I have created an ASP.NET MVC 4 WebApi application, which uses claims based authentication, and uses Azure ACS as a federated authentication. Everything works fine out of the box, by that I mean that ...
1
vote
1answer
256 views

How do I programmatically redirect an unauthenticated request to an STS?

I need unauthenticated users to first be redirected to a login page on an ASP.NET website, then I'll do some business logic to determine one of three authentication types: the user will manually log ...
0
votes
2answers
357 views

WIF - How do I update FederationMetadata.xml on production environment?

I need to deploy a STS and an ASP.NET RP for several clients, all together they form a product, and of course I will need to update the STS FederationMetadata.xml with each client's data and also ...
1
vote
1answer
610 views

SSO for sharepoint 2010 and asp.net app using adfs

I was tasked with creating an SSO solution from an existing asp.net app to a new sharepoint 2010 app. The existing asp.net app uses forms authentication, but not against a single data source. It ...
0
votes
1answer
1k views

Claim Based Authentication using WCF

I am trying to learn Claim Based Authentication. The business services (based on SOAP) will be using this service for authentication. Can you please give a reference to a simplified implementation in ...
1
vote
1answer
296 views

WIF BootstrapToken expired

I'm developing web application using ASP.NET MVC + WCF secured by WIF. I'm using active STS. I have a problem with situation where BootstrapToken expired but SessionSecurityToken is still valid ...
2
votes
2answers
217 views

Implementing custom atributes for claims based security

I am trying to implement claims based security using System.IdentityModel. We are using Windows XP for all development work and therefore cannot use Windows Identity Foundation. What I am trying to do ...
0
votes
1answer
362 views

What is the best way to modify Claims at Relying Party when using Windows Identity Foundation

Currently I am doing this to modify my Roles Claims in the Relying Party's Global.asax. void Application_AuthenticateRequest(object sender, EventArgs e) { if (Request.IsAuthenticated) { string[] ...
2
votes
2answers
2k views

Using Custom RoleProvider with Windows Identity Foundation - STS

I created STS that does the authentication part. It uses Custom Membership provider. After successful login I get redirected to my RP website. All works fine in terms of authentication. I have ...
0
votes
1answer
442 views

Windows NT token with ADFS to get Remote user Roles

I created a ADFS windows NT enabled tokenapp Configured IIS 7 to enabled windows NT token in authentication and reply url as https://adfsweb.treyresearch.net/tokenapp I added this app into the ...
2
votes
1answer
386 views

WSO2 Identity server with ASP .NET and WIF

We are looking into Microsoft ASP .NET(WS-Federation with windows identity foundation) interoperability with WSO2 identity server. I posted the issue on the forum 14 weeks ago ...
0
votes
0answers
679 views

How can I automatically authenticate a SharePoint 2010 user?

In our organization we have a single sign-on solution which proxies web requests and handles authentication. When a user is authenticated, HTTP headers are injected into the request before it is ...
0
votes
1answer
579 views

ADFS reauthenticating an MVC request after a certain time period

I am working on a Claims aware ASP.NET MVC application. The authentication is done via Active Directory Federation Services. The ADFS server has a time out of 8 hours. At the application level I ...
1
vote
1answer
434 views

WIF Claims-based Identity for Legacy Login

I have several legacy ASP.NET applications with custom membership providers. They also utilized external SAML based identity providers for which we have written custom clients. I am sold on the ...
3
votes
1answer
762 views

Where is the best place to have custom Principal/Identity set?

I have been working on a web site (using ASP.NET C#) that uses both forms based and claims based authentication. I wanted to override the ClaimsIdentity class so I could implement a custom ...
1
vote
1answer
571 views

Splitting and recombining a large string in Cookies using ASP.NET

I have a large string that I want to save in a cookie, however I don't know what the best practices are for max string length per cookie, and max cookie count. What logic should I use to split the ...
0
votes
0answers
659 views

Windows Identity Foundation Security Token Service setting cookie timeouts

I want to configure the timeout duration that is applied to the cookies that are created on relying party after a user logs in through the passive Security Token Service (STS). I believe I read ...
2
votes
1answer
938 views

How to share authentication context between a SharePoint 2010 Site and ASP.NET applications

Is it possible to share the claims based authentication of a logged in Sharepoint 2010 user with a separate Asp.net application? The following article describes how it was done using Sharepoint 2007 ...
1
vote
1answer
1k views

Download a file from a Claims auth based SharePoint 2010 site programmatically

I have a console application to download a file from a SharePoint site. The sharepoint site uses claims based authentication. This code throws a 403 Forbidden exception. The specified Network ...
0
votes
1answer
1k views

Sliding Expiration in ASP.NET web app using claims from STS

Two questions: 1) How/where do I set the lifetime of the session cookie in my web application when using an STS to get claims? From what I can tell, it seems I can only do this programmatically in ...
2
votes
1answer
1k views

What are good ways to architect a custom “ClaimsAuthorizationManager” Windows Identity Foundation class?

I am working on the very first project at my office where we will be using "Windows Identity Foundation" with Claims-Based-Authorization. To this end, Microsoft .net provides the ...
0
votes
1answer
312 views

Specifying Required / Optional Claim Types in the Relying Party for a Passive STS

I have an asp.net application (relying party) that uses a passive STS for authentication and retrieval of claim values. The relying party is using the FederatedAuthenticationModule (FAM) to enable a ...