federated-identity

No valid key mapping found for securityToken

纵然是瞬间 提交于 2019-12-03 13:35:49
I am developing test application for displaying claims of authenticated identity in MVC-ASP.net (Visual studio 2013) I have given authentication from active directory in following way. 1.Add new mvc project in solution . 2.click on Change authentication. 3.select organization account 4.select on premises. 5.given federation url 6.App Id url After running the application i am getting following error. WIF10201: No valid key mapping found for securityToken: 'System.IdentityModel.Tokens.X509SecurityToken' and issuer: ' http://websso.avanade.com/adfs/services/trust ' This error is coming only for

How do I move federationConfiguration out of web.config and to some custom config file and load it dynamically by code

こ雲淡風輕ζ 提交于 2019-12-03 08:52:15
I have my configuration in web.config and it works fine. <configuration> <system.identityModel.services> <federationConfiguration> .... </federationConfiguration> </system.identityModel.services> </configuration> How do I move this out of web.config to a custom config file and load it from code? I want to use the same structure of this configuration so that I do not have to change anything in code if I have to change this configuration file. You can tap into the WIF event from your global.asax void Application_Start(object sender, EventArgs e) { // Code that runs on application startup

Federated authentication and Delegated authentication in salesforce

北战南征 提交于 2019-12-03 07:08:28
问题 Anybody know the difference between Federated authentication and Delegated authentication in salesforce? Can you explain the flow of request in these two methods? 回答1: The main difference is the use of Security Assertion Markup Language (SAML) on Federated Authentication. Delegated Authentication Use delegated authentication if you have mobile users in your organization, or if you want to enable single-sign on for partner portals or Customer Portals. You must request that this feature be

WIF- ID1014: The signature is not valid. The data may have been tampered with

旧城冷巷雨未停 提交于 2019-12-03 06:53:40
I've been using WIF to authenticate our new website, the STS is based upon the starter-sts implementation. To enable this to work correctly on out load balanced environment I've used the following in the global.asax to override the default certificate behaviour. void onServiceConfigurationCreated(object sender, ServiceConfigurationCreatedEventArgs e) { List<CookieTransform> sessionTransforms = new List<CookieTransform>(new CookieTransform[] { new DeflateCookieTransform(), new RsaEncryptionCookieTransform(e.ServiceConfiguration.ServiceCertificate), new RsaSignatureCookieTransform(e

forgerock Identity Management Solution Vs WSO2 Identity Server

别来无恙 提交于 2019-12-03 06:24:16
I'm trying to choose one of forgerock identity management solution (openAM, openIDM) and wso2 identity server for implementing Identity and Access Management solution. I'm interested in using following features: Single Sign-On (SSO) Policy based access control Managing user identities Connecting to central repository like Active Directory, OpenLdap, Oracle Internet Directory etc. Etc.. Both open source products looks viable. I'm interested in having all of the above features along with good API to implement these features, along with active community support. Which one would be the best

SAML assertion with username/password - what do the messages really look like?

两盒软妹~` 提交于 2019-12-03 02:37:21
I need to create a some SAML 2.0 assertions, and I'm having trouble finding what the XML should really look like. Most of the documentation seems to be about using particular tools, not about the messages. I've got the schemas, with a plethora of possibilities, but I can't find an example of what the relevant messages actually look like in practice. The business rule says: in order to create a shared identity, the user tells system A their username and password on system B. System A needs to communicate this info (along with some demographics) to system B. System B validates the information

Federated authentication (single-sign-on) for a WCF REST/HTML-service on Azure

落爺英雄遲暮 提交于 2019-12-02 05:18:44
问题 I have made a simple WCF-REST-service, published it to Azure and activated SSL with a X.509-certificate. I'd like to setup some authentication for this service as well. I could solve this very easily by sending a credentials-header in clear text since all traffic is now encrypted, but I am planning to use some kind of federated authentication instead so that users can take advantage of Single Sign-On. This field is relatively new and yet seems to already be littered with obsolete technology,

Federated authentication (single-sign-on) for a WCF REST/HTML-service on Azure

时光怂恿深爱的人放手 提交于 2019-12-01 23:34:43
I have made a simple WCF-REST-service, published it to Azure and activated SSL with a X.509-certificate. I'd like to setup some authentication for this service as well. I could solve this very easily by sending a credentials-header in clear text since all traffic is now encrypted, but I am planning to use some kind of federated authentication instead so that users can take advantage of Single Sign-On. This field is relatively new and yet seems to already be littered with obsolete technology, making it difficult for someone with little experience to find current best practices and solid

Digest verification failed for Reference

一个人想着一个人 提交于 2019-12-01 11:40:17
I have implementation of a custom STS. After being authenticated and redirected but before the page was loaded I would receive this error: [CryptographicException: Digest verification failed for Reference '#_8e0aea1a-713d-4536-8fac-a768073395e9'.] The reference number would change every time I tried. I eventually found out that the claims, I had loaded from the database, had carriage return line feeds. Once I replaced those I had no more issues. 来源: https://stackoverflow.com/questions/19013666/digest-verification-failed-for-reference

Why would FederatedAuthentication.WSFederationAuthenticationModule be null in MVC Azure ACS Federated Authentication?

久未见 提交于 2019-12-01 07:04:08
I'm trying to put together FederatedAuthentication with .NET 4.5, MVC 4, and active redirect using a custom server-side login page, using code from this tutorial, and from this code sample. Redirecting to the LogOn method of my AccountController works fine, and the method looks like this: public ActionResult LogOn() { HrdClient hrdClient = new HrdClient(); WSFederationAuthenticationModule fam = FederatedAuthentication.WSFederationAuthenticationModule; /*** Fails here because this is null **/ HrdRequest request = new HrdRequest(fam.Issuer, fam.Realm, context: Request.QueryString["ReturnUrl"]);