mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 14:11:21 +00:00
Revert changes to Credentials.
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user