commit | 2cb0efeda6ec05a65c649f3550ba4c52dbe95f39 | [log] [tgz] |
---|---|---|
author | Michael Jumper <mjumper@apache.org> | Wed Jan 22 23:05:03 2020 -0800 |
committer | Michael Jumper <mjumper@apache.org> | Thu Jan 23 23:24:47 2020 -0800 |
tree | 38630c820c42945dd56bff7602cd20e4687c8f20 | |
parent | 3805a7527d0e9c5050bc32043c2ccee16ec53a8e [diff] |
GUACAMOLE-937: Return null on bindAs() failures. Rely on caller to interpret and handle failures. Throwing GuacamoleInvalidCredentialsException breaks separation of concerns (bindAs() shouldn't assume that it's being used during login and that credentials given are the Guacamole user's credentials), and has unintended side effects (throwing subclasses of GuacamoleUnauthorizedException causes implicit session invalidation).