Project

General

Profile

« Previous | Next » 

Revision 8210

require authenticated session when minting a DOI/other identifier. https://projects.ecoinformatics.org/ecoinfo/issues/6086

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
1278 1278
			throws InvalidToken, ServiceFailure, NotAuthorized, NotImplemented,
1279 1279
			InvalidRequest {
1280 1280
		
1281
		// check for null session
1282
        if (session == null) {
1283
          throw new InvalidToken("2190", "Session is required to generate an Identifier at this Node.");
1284
        }
1285
		
1281 1286
		Identifier identifier = new Identifier();
1282 1287
		
1283 1288
		// handle different schemes

Also available in: Unified diff