Revision 6630
Added by Chris Jones about 13 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
425 | 425 |
CNode cn = D1Client.getCN(); |
426 | 426 |
long serialVersion = sysmeta.getSerialVersion().longValue(); |
427 | 427 |
InputStream object = null; |
428 |
Session thisNodeSession = null; |
|
428 | 429 |
|
429 | 430 |
try { |
430 | 431 |
// session should be null to use the default certificate location set in the Certificate manager |
431 |
object = mn.getReplica(null, pid);
|
|
432 |
object = mn.getReplica(thisNodeSession, pid);
|
|
432 | 433 |
logMetacat.info("MNodeService.replicate() called for identifier " + pid.getValue()); |
433 | 434 |
|
434 | 435 |
} catch (InvalidToken e) { |
Also available in: Unified diff
Set a new Session object to null, to be overwritten by the CertificateManager session information from the X.509 certificate.