return "ssl-namespace-config.xml";
}
public void testConnectorProperties() throws Exception
{
SslConnector connector =
(SslConnector) muleContext.getRegistry().lookupConnector("sslConnector");
assertNotNull(connector);
assertEquals(1024, connector.getSendBufferSize());
assertEquals(2048, connector.getReceiveBufferSize());
assertTrue(connector.isKeepAlive());
//The full path gets resolved, we're just checkng that the property got set
assertTrue(connector.getKeyStore().endsWith("/serverKeystore"));
assertEquals("mulepassword", connector.getKeyPassword());
assertEquals("mulepassword", connector.getKeyStorePassword());
//The full path gets resolved, we're just checkng that the property got set
assertTrue(connector.getClientKeyStore().endsWith("/clientKeystore"));
assertEquals("mulepassword", connector.getClientKeyStorePassword());
//The full path gets resolved, we're just checkng that the property got set
assertTrue(connector.getTrustStore().endsWith("/trustStore"));
assertEquals("mulepassword", connector.getTrustStorePassword());
assertTrue(connector.isExplicitTrustStoreOnly());
assertTrue(connector.isRequireClientAuthentication());
assertEquals("foo", connector.getProtocolHandler());
}