Category Archives: Salesforce

Community user self-registration process – How to overcome the MIXED_DML_OPERATION error in a single transaction ?

Problem Your company use Salesforce Community to allow your customer or partner to interact with your Salesforce CRM. You will provide a self-registration process to your external identities to self register and immediately having access to you community portal. However, you might end-up … Continue reading

Posted in Salesforce | Tagged , , , , , , , ,

Changing Identity Provider without impacting the user experience

Problem Your company wants to migrate from an on-premise Identity Provider to a cloud based identity Provider. In this scenario, I want to migrate users from OpenAM IDP to Salesforce IDP. Now, how can you switch to the new IDP … Continue reading

Posted in Salesforce | Tagged , , ,

Tech – Seamless access to two applications SAML protected by openAM as IDP and Salesforce as IDP/ IDP Chaining / OpenAM->Salesforce

Context EndUser profile page (Application A) is a hosted Web page on OpenAM12. It display the profile of the logged user Heroku WebApp (Application B) is an external web application hosted on Heroku platform Salesforce Org is configured both as an Identity Provider … Continue reading

Posted in Salesforce | Tagged , , , ,

Tech – Seamless access to two applications SAML protected by Salesforce as IDP and openAM as IDP /IDP Chaining/ Salesforce->OpenAM

Context Heroku WebApp (Application B) is an external web application hosted on Heroku platform Salesforce Org is configured as an Identity Provider (IDP) for the Heroku WebApp EndUser profile page (Application A) is a hosted Web page on OpenAM12. It display the profile of … Continue reading

Posted in Salesforce | Tagged , , , , ,

OpenAM as Identity Provider / Fedlet as Service Provider – Federated Single Sign On

Context In this post, I will show how you can configure OpenAM as Identity Provider (IdP) and use another tomcat instance to install, deploy and configure a Fedlet. A Fedlet is a lightweight way for service providers to quickly federate with a … Continue reading

Posted in Salesforce | Tagged , , ,

OpenAM as Identity provider / Salesforce as Service Provider – Federated Single Sign On

Context Working with Salesforce, you often need to integrate with an enterprise scale Identity Provider like OpenAM. In this post, I will show how you can configure OpenAM as Identity Provider (IdP) and use Salesforce as Service provider (either to … Continue reading

Posted in Salesforce | Tagged , , ,

How to expose a public Salesforce Web Service using a top-down approach (contract first) WSDL interface ?

Problem How can we expose a public Web service using Salesforce (e.g no authentication needed to access this web service) ? Let’s add some challenge by using a WSDL contract imposed by your service Provider and that you have to … Continue reading

Posted in Salesforce | Tagged , , , , , , , , , , , , ,