mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-990: The UserContext passed to redecorate() should NOT be the internal DecoratedUserContext wrapper.
This commit is contained in:
@@ -145,7 +145,7 @@ public class DecoratedUserContext extends DelegatingUserContext {
|
|||||||
if (authProvider != userContext.getAuthenticationProvider()) {
|
if (authProvider != userContext.getAuthenticationProvider()) {
|
||||||
|
|
||||||
// Apply next layer of wrapping around UserContext
|
// Apply next layer of wrapping around UserContext
|
||||||
UserContext redecorated = authProvider.redecorate(decorated,
|
UserContext redecorated = authProvider.redecorate(decorated.getDelegateUserContext(),
|
||||||
userContext, authenticatedUser, credentials);
|
userContext, authenticatedUser, credentials);
|
||||||
|
|
||||||
// Do not allow misbehaving extensions to wipe out the
|
// Do not allow misbehaving extensions to wipe out the
|
||||||
|
Reference in New Issue
Block a user