Author Archives: Chenda Mok

About Chenda Mok

19 years of hands on experience in software design and development with emphasis on Enterprise Application Integration (EAI), Services Oriented Architecture (SOA) and Identity Management (IDM) solutions. I’m a software engineer, member of the professional service delivery team working for Salesforce. Prior to this, I worked for Oracle as Solution Architect, through SeeBeyond(06/2005), then SUN’s acquisition (04/2009). After my master’s degree in computer science in 1997; I always delivered consulting on architecture, design, implementation on integration’s field. I’m interested in architecture using EAI/SOA/IDM/BPM/Cloud technologies, software development and Java’s related technologies. I may blog about my work/activities at Salesforce, but I do not speak for my employer, past, present or future.

Mac OSX 10.11 El Capitan under ESXi 6 – Accessing my Mac from anywhere

Having a mac is mandatory if you want to start developing a mobile app for iPhone. As i’m a fan of virtualization, and I need to access this virtual Mac from anywhere, i manage to build my own demo lab using … Continue reading

Posted in Uncategorized | Tagged , , , ,

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 , , , , ,

Salesforce as IDP and SAML Heroku App as SP – Sample SAML Exchange

Posted in Uncategorized | Tagged , ,

OpenAM as IDP and Salesforce Partner Community as SP – Sample SAML Exchange

Posted in Uncategorized | Tagged , ,