IIOPProfileTemplate iiopProfileTemplate = (IIOPProfileTemplate)ior.
getProfile().getTaggedProfileTemplate();
IIOPAddress primary = iiopProfileTemplate.getPrimaryAddress() ;
String host = primary.getHost().toLowerCase();
ConnectionContext ctx = new ConnectionContext();
socketInfo = selector.getSSLPorts(ior, ctx);
selector.setClientConnectionContext(ctx);
if (socketInfo == null) {
if (_logger.isLoggable(Level.FINE)) {
_logger.log(Level.FINE, baseMsg