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 service of MS Dynamics CRM provide a few operations that are extensible for all the entities (default and custom) created. A list of the default entities can be found in the MSDN documentation link: "http://msdn.microsoft.com/en-us/library/bb959317.aspx

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.

Summary

Fields
protected final Log logger
[Expand]
Inherited Fields
From class org.mule.module.dynamicscrmonpremise.BaseDynamicsCRMConnector
Public Constructors
DynamicsCRMOnpremiseConnector()
Public Methods
synchronized void connect(String username, String password, String organizationServiceUrl, String spn, String realm, String kdcLocation, String kerberosConfigFile)
Testing phrase

test two

synchronized void disconnect()
String getFileSystemUri()
boolean isConnected()
[Expand]
Inherited Methods
From class org.mule.module.dynamicscrmonpremise.BaseDynamicsCRMConnector
From class java.lang.Object

Fields

protected final Log logger

Public Constructors

public DynamicsCRMOnpremiseConnector ()

Public Methods

public synchronized void connect (String username, String password, String organizationServiceUrl, String spn, String realm, String kdcLocation, String kerberosConfigFile)

Testing phrase

test two

Parameters
username Username
password Password
organizationServiceUrl The path to the MS Dynamics Configuration scv
spn The Service Provider Name of the Dynamics Server in OnPremise mode (this can be found in the organizationServiceUrl, under \)
realm The realm of the Authentication server (generally in upper case format)

Generate a default config file using only as dinamic parameters the realm and the kdcLocation

The configuration generated is:

 [libdefaults]
 default_realm = 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]
 realm = {
 kdc = kdcLocation
 }
 [domain_realm]
 .realmInLowerCase = realm
 realmInLowerCase = realm
 
 
kdcLocation The location of the Authentication server (used in the config example for realm paramameter)
kerberosConfigFile If this is specified realm and kdcLocation are ignored. You can pass the Kerberos config file as a raw String with line breaks using the ? (interrogation) character
Throws
ConnectionException If the connection failed

public synchronized void disconnect ()

Throws
IOException

public String getFileSystemUri ()

public boolean isConnected ()