wif

Updating claims with ADFS and WIF

非 Y 不嫁゛ 提交于 2019-12-11 11:06:43
问题 Imagine the following scenario. User visits a site A (ASP.NET), authenticates using ADFS and gets a set of claims . At some point, they need to register for an additional service so they are redirected to a provisioning site B (ASP.NET) (also using ADFS – so SSO) where they register by entering their relevant details and are redirected back to A. However, part of the provisioning process added attributes to a repository (normally AD) and we would like those attributes to form part of their

Add STS reference not displaying in VS2010 Express

前提是你 提交于 2019-12-11 05:28:20
问题 I have already done the following. I have VS Express 2010 (trial) installed on my windows 7 machine. Installed WIF 6.1 and WIF sdk 4.0 from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4451 Installed VS C++ express to get Visual Studio command prompt Tried to execute C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv /ResetAddin Microsoft.IdentityModel.Tools.VS.VSAddin.FederationAddin. This does not work as devenv does not exist on my setup Added

Configure Claim based identity for multiple applications in localhost

依然范特西╮ 提交于 2019-12-11 04:49:41
问题 I have two applications "http:/localhost/applicationA" and "http:/localhost/applicationB" . I have configured applicationA for claim based authentication settings. applicationA is working perfectly. But I am refering some javascrips of applicationB from applicationA. But applicationB has no the authentication cookies( FedAuth ). Is it possible for me to add claim authentication in both applicationA, applicationB using the below code? <system.identityModel> <identityConfiguration>

Windows Identity Foundation and Port Forwarding

雨燕双飞 提交于 2019-12-11 04:42:08
问题 There is net cofiguration: Client - FW - IIS IIS is listening port 8080, there is a web application on IIS, for example MyApp. FW implements simple port forwarding (it replaces port 80 to port 8080). Assume the following case: Client asks http://MyWebSite/MyApp/Index.aspx , FW changes standart port 80 to 8080 and request is http://MyWebSite:8080/MyApp/Index.aspx . IIS returns to client requested page Index.aspx One importatn thing: if user types in browser http://MyWebSite/myapp/index.aspx

Examples of how to a STS in .Net 4.5 using WCF

懵懂的女人 提交于 2019-12-11 04:08:17
问题 I'm looking for Examples of how to a STS in .Net 4.5 using WCF. So the scenario is I have a MVC 4 web app that I want to write an STS to authenticate and get claims that stores its data in the traditional SqlMembershipProvider database schema that we all know and love. I'm guessing the STS could be a simple WCF service. I've googled around but can only find stuff that shows how to do all this when the WIF was separated from the Core Framework. I.e. before it was embedded in .Net 4.5 回答1:

User.Identity.IsAuthenticated use in generic asp.net handler

[亡魂溺海] 提交于 2019-12-11 03:50:45
问题 I've set up an STS with WIF and want to expose whether a user is signed in so that an RP can determine if the user is signed in without requiring the user to redirect to the STS and return. If the user is signed in, a different process flow will occur on the RP so it's important to know but not to force the sign-in at this point in the process. My plan was to create a simple generic handler on the STS which, when hit via an HttpWebRequest, returns the output of context.User.Identity

Azure Active Directory and WCF [closed]

余生长醉 提交于 2019-12-11 03:37:03
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . How can I secure a WCF service using Azure Active Directory: My Status: - My WCF service that contains the business logic is hosted on Azure WebRole. I want your help to do the following: Configure my WCF Service in Azure to federate the authentication process to Azure Active directory. Configure my WCF Client

Using UiWebView and Monotouch with Azure ACS

自闭症网瘾萝莉.ら 提交于 2019-12-11 02:59:39
问题 I'm trying to figure out how to use Azure ACS on the iPhone, via Monotouch. It looks like it should be possible to simply point a UiWebView at the right address, let the user pick their IP, ad then sign in. After that the cookie should contain the required info. Getting the NSHttpCookie and translating it to a System.Net.Cookie looks easy: How do I convert an NSHttpCookie to a System.Net.Cookie in MonoTouch? However, I can't figure out the first part. I've tried pointing the UIWebView at all

WSFederationAuthenticationModule v/s SessionAuthenticationModule

戏子无情 提交于 2019-12-11 02:28:39
问题 According to documentation, both module will used to create instance of IClaimsPrincipal. I am not understanding why WIF bother to use 2 HttpModules instead of one? Sorry, I am new in WIF 回答1: You don't need both to have the IClaimsPrincipal in the pipeline. You need the latter, the SessionAuthenticationModule . It is responsible for converting the WIF cookie into the principal object (similar what FormsAuthenticationModule does with a form cookie). The former,

Can WIF Saml2SecurityTokenHandler validate top-level signature?

五迷三道 提交于 2019-12-11 02:16:34
问题 See this (stripped-down) SAML 2.0 response: <samlp:Response> <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">lkasjdflkasj</saml:Issuer> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <!--<snip>--> </Signature> <samlp:Status xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"> <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/> </samlp:Status> <saml:Assertion> <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">lkasjdflkasj</saml:Issuer>