mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
GUACAMOLE-38: Quick fix-up for userContext object in AuthenticationProvider
This commit is contained in:
@@ -45,7 +45,11 @@ public class QuickConnectAuthenticationProvider extends AbstractAuthenticationPr
|
|||||||
public UserContext getUserContext(AuthenticatedUser authenticatedUser)
|
public UserContext getUserContext(AuthenticatedUser authenticatedUser)
|
||||||
throws GuacamoleException {
|
throws GuacamoleException {
|
||||||
|
|
||||||
return new QuickConnectUserContext(this, authenticatedUser.getIdentifier());
|
if (userContext == null)
|
||||||
|
userContext = new QuickConnectUserContext(this,
|
||||||
|
authenticatedUser.getIdentifier());
|
||||||
|
|
||||||
|
return userContext;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user