Rocketeer007 / php-dynamics-crm-2011

Automatically exported from code.google.com/p/php-dynamics-crm-2011
7 stars 8 forks source link

Extend Connector to support other security methods than Federation #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the DynamicsCRM2011_Connector class only supports Federation 
security.

There are at least 3 different security modes available for Microsoft Dynamics 
CRM 2011
* Claims-based Authentication
* Federation Security
* Windows Live ID (used on the Online version, rather than the On-Premises 
version)

Currently, I only have access to a server using Federation Security, so that is 
the only security model that will be supported, but it would be good to have 
this as a feature of the library.

At the very least, the checkSecurity method would need to be expanded.
Probably, the requestSecurityToken function would need to be rewritten for 
other Authentication modes
Possibly, the Constructor would need to be re-written to allow sending other 
Security data
Potentially, the generateSoapRequest function would need to be re-written if 
other security methods don't use a Security Token at all!

Original issue reported on code.google.com by N.M.Pr...@gmail.com on 15 Mar 2012 at 12:22

GoogleCodeExporter commented 9 years ago

Original comment by N.M.Pr...@gmail.com on 15 Mar 2012 at 12:43

GoogleCodeExporter commented 9 years ago
This feature is required, but will not be implemented soon.

Original comment by N.M.Pr...@gmail.com on 16 Mar 2012 at 2:05

GoogleCodeExporter commented 9 years ago
Ben Speakman appears to have developed a similar class that functions for 
Dynamics CRM Online 2011, available on GitHub here: 
https://github.com/Ben-Speakman/PHP-Dynamics-Online-CRM-2011-SOAP-Class

A free trial of the software is available here:
http://crm.dynamics.com/en-gb/trial-overview

This could be used to develop the handling for the Windows Live authentication 
mentods.  A quick review of Ben's code suggests that the security handling is 
very similar, but doesn't require encryption of the timestamps as Federation 
does.

Original comment by N.M.Pr...@gmail.com on 18 Mar 2012 at 2:28

GoogleCodeExporter commented 9 years ago
Hi

Was there any progress made on this topic? I am trying to connect to a CRM 
which uses active directory authentication method.

Thanks

Original comment by jamesrya...@gmail.com on 15 Jun 2014 at 9:59