mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-586: Only use cached configurations within SimpleAuthenticationProvider if truly from same instance.
This commit is contained in:
@@ -202,7 +202,7 @@ public abstract class SimpleAuthenticationProvider
|
|||||||
throws GuacamoleException {
|
throws GuacamoleException {
|
||||||
|
|
||||||
// Pull cached configurations, if any
|
// Pull cached configurations, if any
|
||||||
if (authenticatedUser instanceof SimpleAuthenticatedUser)
|
if (authenticatedUser instanceof SimpleAuthenticatedUser && authenticatedUser.getAuthenticationProvider() == this)
|
||||||
return ((SimpleAuthenticatedUser) authenticatedUser).getAuthorizedConfigurations();
|
return ((SimpleAuthenticatedUser) authenticatedUser).getAuthorizedConfigurations();
|
||||||
|
|
||||||
// Otherwise, pull using credentials
|
// Otherwise, pull using credentials
|
||||||
|
Reference in New Issue
Block a user