@ConnectionManagement(configElementName="config", friendlyName="Legacy Connection") public class LegacyConnectionStrategy extends BaseCrmConnectionStrategy
Modifier and Type | Class and Description |
---|---|
static class |
LegacyConnectionStrategy.AuthenticationType
Available authentication schemes to connect to a Dynamics CRM instance.
|
urlPattern, username
Constructor and Description |
---|
LegacyConnectionStrategy() |
callSimpleQueryToTestConnection, connect, createHttpClientBuilder, destroySession, getConnectionTimeout, getDisableCnCheck, getMuleContext, getNewBusForClient, getNewClientInstance, getNewServiceInstance, getOrganizationServiceClient, getOrganizationServiceWsdl, getProxyConnection, getSessionId, isConnected, setConnectionTimeout, setDisableCnCheck, setMuleContext, setProxyConnection, testConnectivity
protected IOrganizationService createOrganizationServiceClient(String username, String password, String organizationServiceUrl) throws org.mule.api.ConnectionException
createOrganizationServiceClient
in class BaseCrmConnectionStrategy
org.mule.api.ConnectionException
protected void testClientConnectivity(IOrganizationService client, String organizationServiceUrl) throws org.mule.api.ConnectionException
testClientConnectivity
in class BaseCrmConnectionStrategy
org.mule.api.ConnectionException
protected void configureHttpConduit(org.apache.cxf.transport.http.HTTPConduit httpConduit)
configureHttpConduit
in class BaseCrmConnectionStrategy
public void setAuthenticationRetries(int authenticationRetries)
public LegacyConnectionStrategy.AuthenticationType getAuthenticationType()
public String getGatewayRouterServiceAddress()
public void setGatewayRouterServiceAddress(String gatewayRouterServiceAddress)
public int getAuthenticationRetries()
public void setAuthenticationType(LegacyConnectionStrategy.AuthenticationType authenticationType)
public String getLoginPropertiesFilePath()
public void setLoginPropertiesFilePath(String loginPropertiesFilePath)
public String getKerberosPropertiesFilePath()
public void setKerberosPropertiesFilePath(String kerberosPropertiesFilePath)
public String getSpn()
public void setSpn(String spn)
public Boolean getEnableConnectionDebug()
public void setEnableConnectionDebug(Boolean enableConnectionDebug)
public Boolean getAutoDiscoverKerberos()
public void setAutoDiscoverKerberos(Boolean autoDiscoverKerberos)
Copyright © 2010–2016. All rights reserved.