GUAC-586: Only use cached configurations within SimpleAuthenticationProvider if truly from same instance.
This commit is contained in:
1 parent
379229dee5
commit
caccb37af3
1 file changed
+1
-1
+1
-1
@@ -202,7 +202,7 @@ public abstract class SimpleAuthenticationProvider
|
||||
throws GuacamoleException {
|
||||
|
||||
// Pull cached configurations, if any
|
||||
if (authenticatedUser instanceof SimpleAuthenticatedUser)
|
||||
if (authenticatedUser instanceof SimpleAuthenticatedUser && authenticatedUser.getAuthenticationProvider() == this)
|
||||
return ((SimpleAuthenticatedUser) authenticatedUser).getAuthorizedConfigurations();
|
||||
|
||||
// Otherwise, pull using credentials
|
||||
|
||||
Reference in new issue
Block a user