Revision 649
Added by berkley almost 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
340 | 340 |
handleGetDoctypesAction(out, params, response); |
341 | 341 |
} else if (action.equals("getdataport")) { |
342 | 342 |
PrintWriter out = response.getWriter(); |
343 |
if ( (username != null) && !username.equals("public") ) { |
|
343 | 344 |
handleGetDataPortAction(out, params, response, username, groupname, |
344 | 345 |
sess_id); |
346 |
} else { |
|
347 |
out.println("You must be authenticated to perform the getdataport " + |
|
348 |
"action!"); |
|
349 |
} |
|
345 | 350 |
} else if (action.equals("getdataguide")) { |
346 | 351 |
PrintWriter out = response.getWriter(); |
347 | 352 |
handleGetDataGuideAction(out, params, response); |
Also available in: Unified diff
fixed minor error