_logger.log(Level.FINE, msg);
}
return null;
}
TaggedComponent tcomp = itr.next();
if(_logger.isLoggable(Level.FINE)){
_logger.log(Level.FINE,"Component:" + tcomp);
}
if (itr.hasNext()) {
String msg = "More than one TAG_CSI_SEC_MECH_LIST tagged " +
"component found ";
_logger.log(Level.SEVERE,"iiop.many_tagged_component");
throw new RuntimeException(msg);
}
org.omg.IOP.TaggedComponent comp = tcomp.getIOPComponent(orb);
byte[] b = comp.component_data;
CDRInputStream in = (CDRInputStream) new EncapsInputStream(orb, b, b.length);
in.consumeEndian();
CompoundSecMechList l = CompoundSecMechListHelper.read(in);
CompoundSecMech[] list = l.mechanism_list;