Posts

Abstracting CRM Providers Using Interfaces

Image
I have created a custom module which can switch to CRM as needed. At present I am using CRM as my Source of Record for custom module. I would like to make sure that custom module, could able to connect to any source of records example sales force, share point portal or any custom application.  That thought lead me to apply factory pattern for CRM provider Consider the following sample classes, which allows you to obtain a specific connection object based on the value of a custom enumeration or configuration. Data Provider class namespace DataLayer {    public abstract class DataProvider    {        // singleton reference to the instantiated object        static DataProvider _provider;        // constructor        static DataProvider()        {   ...

url with token parameter

Image
Hi Nice day for you, Today I thought before starting my work Let me pass some information to google search content. I got lot of help from Google search to do my work easier. Sometime I think myself as selfish not contributing back to the search content. So some bit of information which might help somebody else. Okay.. Yesterday my boss asked me, we need to send a token while we send mails to customers either using Direct CRM features or third party using extracted list from CRM. That token should help customer to do some action in CRM without much authentication issues. Like... they can change their phone number by clicking a link. They were able to update their marketing mail preferences with the help of URL and so on... Indeed there are lot of concerns while we go to security team with the solution. They are asking about, Validity of token, Guest authentication, Defense against reply attacks, Defense against identifier misuse, Defense against Ma...