GUACAMOLE-38: Quick fix-up for userContext object in AuthenticationProvider
This commit is contained in:
1 parent
d608643bb6
commit
bb127c55d2
1 file changed
+5
-1
+5
-1
@@ -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