Revert changes to Credentials.

This commit is contained in:
Michael Jumper
2013-08-07 16:21:17 -07:00
parent 7be306f1f4
commit c60d810c9c
2 changed files with 39 additions and 136 deletions

View File

@@ -226,10 +226,16 @@ public abstract class AuthenticatingHttpServlet extends HttpServlet {
HttpSession httpSession = request.getSession(true);
// Retrieve username and password from parms
String username = request.getParameter("username");
String password = request.getParameter("password");
// Build credentials object
Credentials credentials = new Credentials();
credentials.setSession(httpSession);
credentials.setRequest(request);
credentials.setUsername(username);
credentials.setPassword(password);
try {