Revision 1906
Added by Jing Tao about 21 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
332 | 332 |
groupnames = (String[])sess.getAttribute("groupnames"); |
333 | 333 |
} |
334 | 334 |
} |
335 |
|
|
336 |
//make user user username should be public |
|
337 |
if (username == null || (username.trim().equals(""))) |
|
338 |
{ |
|
339 |
username = "public"; |
|
340 |
} |
|
335 | 341 |
|
336 | 342 |
// Now that we know the session is valid, we can delegate the request |
337 | 343 |
// to a particular action handler |
Also available in: Unified diff
If the sessionid is null and user will be treated as public.