On Tue, Jul 2, 2024 at 6:09 AM David Lomas <d...@pale-eds.co.uk.invalid> wrote:
> Hi Nick, > > One more followup—based on your original email: > > * >> Adjust >> extensions/guacamole-auth-header/src/main/java/org/apache/guacamole/auth/header/user/AuthenticatedUser.java >> to override getUserGroups() to return the groups you're looking for. >> > > I wasn't able to get that to work, as the compiler said "method does not > override or implement a method from a supertype". But I was able to > override getEffectiveUserGroups() and return a simple Set of Strings of > group names, and that seems to be working in the way we want, so thanks for > the pointers :). > > Yeah, that was my mistake - I was looking at multiple classes and probably confused one with the other. getEffectiveUserGroups() is the correct method to override. -Nick >