GUACAMOLE-5: Provide most recent Credentials to updateUserContext(). Doing otherwise relies on the AuthenticatedUser being updated, which is not guaranteed to happen.

This commit is contained in:
Michael Jumper
2016-07-29 15:14:39 -07:00
parent 872aac375c
commit abbc83a15b
6 changed files with 23 additions and 11 deletions

View File

@@ -95,7 +95,8 @@ public abstract class InjectedAuthenticationProvider implements AuthenticationPr
@Override
public UserContext updateUserContext(UserContext context,
AuthenticatedUser authenticatedUser) throws GuacamoleException {
AuthenticatedUser authenticatedUser, Credentials credentials)
throws GuacamoleException {
// No need to update the context
return context;