protected void tearDown() throws Exception {
super.tearDown();
}
private void createTransportAndConsume( boolean wantAuth, boolean needAuth ) throws IOException {
JMXPrincipal principal = new JMXPrincipal( certDistinguishedName );
X509Certificate cert = new StubX509Certificate( principal );
StubSSLSession sslSession =
new StubSSLSession( cert );
sslSocket = new StubSSLSocket( sslSession );