Revision 224
Added by bojilova over 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
219 | 219 |
// Jivka added |
220 | 220 |
// handle login action |
221 | 221 |
if (action.equals("Login")) { |
222 |
out.println("here is Login");
|
|
223 |
//handleLoginAction(out, params, request, response);
|
|
222 |
//out.println("here is Login");
|
|
223 |
handleLoginAction(out, params, request, response); |
|
224 | 224 |
// handle logout action |
225 | 225 |
} else if (action.equals("Logout")) { |
226 | 226 |
HttpSession sess = request.getSession(false); |
... | ... | |
270 | 270 |
* Handle the Login request. Create a new session object. |
271 | 271 |
* Make a user authentication through SRB RMI Connection. |
272 | 272 |
*/ |
273 |
/* |
|
273 |
|
|
274 | 274 |
private void handleLoginAction(PrintWriter out, Hashtable params, |
275 | 275 |
HttpServletRequest request, HttpServletResponse response) { |
276 | 276 |
String un = (String)params.get("username"); |
... | ... | |
301 | 301 |
out.println("SRB Connection failed. " + re.getMessage()); |
302 | 302 |
} |
303 | 303 |
} |
304 |
*/ |
|
305 | 304 |
|
306 | 305 |
/** |
307 | 306 |
* Handle the database query request and return a result set, possibly |
Also available in: Unified diff
testing login