public class

DynamicsCRMOnpremiseConnector

extends BaseDynamicsCRMConnector
java.lang.Object
   ↳ org.mule.module.dynamicscrmonpremise.BaseDynamicsCRMConnector
     ↳ org.mule.module.dynamicscrmonpremise.DynamicsCRMOnpremiseConnector
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Microsoft Dynamics CRM 2011 Onpremise version

This connector allow the integration with MS Dynamics CRM 2011 Onpremise version.
The connector uses Kerberos/SPNEGO with Active Directory for Authentication.

If you are going to use this connector be sure to have your environment well configured. This requires a CRM Onpremise 2011 Server (Windows 2008 Server x64) running in a Active Directory Domain with a SPN configured over HTTP/... Also the DNS configuration for the CRM server and the Kerberos/AD server.

Debug purposes:

---------------

To add debug in Kerberos/SPNEGO flow add this parameters in the VM params:

-Dsun.security.krb5.debug=true

-Dsun.security.spnego.debug=true

Login Config File

-----------------

Create a new file with the next configuration in your server:

********************************************************************************************

Kerberos {

com.sun.security.auth.module.Krb5LoginModule required debug=true;

};

********************************************************************************************

i.e. In this case, Kerberos is the only module configured, and it will be the param to be used in loginConfigModule=Kerberos

Kerberos Config File

--------------------

Create a new file with the next configuration in your server:

********************************************************************************************

[libdefaults]

default_realm = <YOUR_REALM>

default_tkt_enctypes = rc4-hmac aes128-cts des3-cbc-sha1 des-cbc-md5 des-cbc-crc

default_tgs_enctypes = rc4-hmac aes128-cts des3-cbc-sha1 des-cbc-md5 des-cbc-crc

permitted_enctypes = rc4-hmac aes128-cts des3-cbc-sha1 des-cbc-md5 des-cbc-crc

[realms]

<YOUR_REALM> = {

kdc = <Kerberos_location>

default_domain = <YOUR_REALM>

}

[domain_realm]

.<your_realm> = <YOUR_REALM>

<your_realm> = <YOUR_REALM>

********************************************************************************************

Please note the upper and lower case.

Summary

Fields
private String kerberosConfigPath The path where the Kerberos config file is
protected final Log logger
private String loginConfigModule The LoginModule configuration to use (this is defined inside of LoginConfig file)
private String loginConfigPath The path where the LoginConfig file is
private String organizationServiceUrl The path to the MS Dynamics Configuration scv
private String password Password
private String spn The Service Provider Name of the Dynamics Server in OnPremise mode (this can be found in the organizationServiceUrl, under \)
private String username Username
[Expand]
Inherited Fields
From class org.mule.module.dynamicscrmonpremise.BaseDynamicsCRMConnector
Public Constructors
DynamicsCRMOnpremiseConnector()
Public Methods
void connect()
String getKerberosConfigPath()
String getLoginConfigModule()
String getLoginConfigPath()
String getOrganizationServiceUrl()
String getPassword()
String getSpn()
String getUsername()
void setKerberosConfigPath(String kerberosConfigPath)
void setLoginConfigModule(String loginConfigModule)
void setLoginConfigPath(String loginConfigPath)
void setOrganizationServiceUrl(String organizationServiceUrl)
void setPassword(String password)
void setSpn(String spn)
void setUsername(String username)
[Expand]
Inherited Methods
From class org.mule.module.dynamicscrmonpremise.BaseDynamicsCRMConnector
From class java.lang.Object

Fields

private String kerberosConfigPath

The path where the Kerberos config file is

protected final Log logger

private String loginConfigModule

The LoginModule configuration to use (this is defined inside of LoginConfig file)

private String loginConfigPath

The path where the LoginConfig file is

private String organizationServiceUrl

The path to the MS Dynamics Configuration scv

private String password

Password

private String spn

The Service Provider Name of the Dynamics Server in OnPremise mode (this can be found in the organizationServiceUrl, under \)

private String username

Username

Public Constructors

public DynamicsCRMOnpremiseConnector ()

Public Methods

public void connect ()

Throws
ConnectionException

public String getKerberosConfigPath ()

public String getLoginConfigModule ()

public String getLoginConfigPath ()

public String getOrganizationServiceUrl ()

public String getPassword ()

public String getSpn ()

public String getUsername ()

public void setKerberosConfigPath (String kerberosConfigPath)

Parameters
kerberosConfigPath

public void setLoginConfigModule (String loginConfigModule)

Parameters
loginConfigModule

public void setLoginConfigPath (String loginConfigPath)

Parameters
loginConfigPath

public void setOrganizationServiceUrl (String organizationServiceUrl)

Parameters
organizationServiceUrl

public void setPassword (String password)

Parameters
password

public void setSpn (String spn)

Parameters
spn

public void setUsername (String username)

Parameters
username