@ConnectionManagement(configElementName="kerberos-connection-config", friendlyName="Kerberos Connection") public class KerberosConnectionStrategy extends BaseCrmConnectionStrategy
Modifier and Type | Field and Description |
---|---|
static String |
KERB_INV_PARAMS |
static String |
KERBEROS_CHECK_SPN |
static String |
UNABLE_TO_QUERY_THE_SERVICE |
urlPattern, username
Constructor and Description |
---|
KerberosConnectionStrategy() |
Modifier and Type | Method and Description |
---|---|
protected IOrganizationService |
createOrganizationServiceClient(String username,
String password,
String organizationServiceUrl) |
Boolean |
getEnableConnectionDebug() |
String |
getKdc() |
String |
getKerberosPropertiesFilePath() |
String |
getLoginPropertiesFilePath() |
String |
getRealm() |
String |
getSpn() |
void |
setEnableConnectionDebug(Boolean enableConnectionDebug) |
void |
setKdc(String kdc) |
void |
setKerberosPropertiesFilePath(String kerberosPropertiesFilePath) |
void |
setLoginPropertiesFilePath(String loginPropertiesFilePath) |
void |
setRealm(String realm) |
void |
setSpn(String spn) |
protected void |
testClientConnectivity(IOrganizationService client,
String organizationServiceUrl) |
callSimpleQueryToTestConnection, configureHttpConduit, connect, createHttpClientBuilder, destroySession, getConnectionTimeout, getDisableCnCheck, getMuleContext, getNewBusForClient, getNewClientInstance, getNewServiceInstance, getOrganizationServiceClient, getOrganizationServiceWsdl, getProxyConnection, getSessionId, isConnected, setConnectionTimeout, setDisableCnCheck, setMuleContext, setProxyConnection, testConnectivity
public static final String KERB_INV_PARAMS
public static final String KERBEROS_CHECK_SPN
public static final String UNABLE_TO_QUERY_THE_SERVICE
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
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 String getRealm()
public void setRealm(String realm)
public String getKdc()
public void setKdc(String kdc)
public Boolean getEnableConnectionDebug()
public void setEnableConnectionDebug(Boolean enableConnectionDebug)
Copyright © 2010–2019. All rights reserved.