(sslImplementationName);
socketFactory =
sslImplementation.getServerSocketFactory();
ep.setServerSocketFactory(socketFactory);
} catch (ClassNotFoundException e){
throw new TomcatException("Error loading SSLImplementation ",
e);
}
}
else {
if (socketFactoryName != null) {
try {
socketFactory = string2SocketFactory(socketFactoryName);
ep.setServerSocketFactory(socketFactory);
} catch(Exception sfex) {
throw new TomcatException("Error Loading Socket Factory " +
socketFactoryName,
sfex);
}
}
}