Revision 2171
Added by Duane Costa almost 20 years ago
LoginServlet.java | ||
---|---|---|
105 | 105 |
if (isValid) { |
106 | 106 |
System.out.println(authSession.getMessage()); |
107 | 107 |
httpSession = request.getSession(true); |
108 |
httpSession.putValue("Musername", user);
|
|
109 |
httpSession.putValue("Mpassword", passwd);
|
|
108 |
httpSession.setAttribute("username", user);
|
|
109 |
httpSession.setAttribute("password", passwd);
|
|
110 | 110 |
response.sendRedirect("../style/skins/dev/harvesterUpload.html"); |
111 | 111 |
} |
112 | 112 |
else { |
Also available in: Unified diff
Store session attributes as username and password for consistency with Metacat