Revision 2171
Added by Duane Costa almost 20 years ago
HarvesterRegistrationLogin.java | ||
---|---|---|
115 | 115 |
|
116 | 116 |
if (isValid) { |
117 | 117 |
httpSession = req.getSession(true); |
118 |
httpSession.setAttribute("ldapDN", user);
|
|
119 |
httpSession.setAttribute("ldapPwd", passwd);
|
|
118 |
httpSession.setAttribute("username", user);
|
|
119 |
httpSession.setAttribute("password", passwd);
|
|
120 | 120 |
res.sendRedirect( |
121 | 121 |
"edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistration"); |
122 | 122 |
} |
Also available in: Unified diff
Store session attributes as username and password for consistency with Metacat