@Override
    public UserContext getUserContext(AuthenticatedUser authenticatedUser)
            throws GuacamoleException {

        QuickConnectUserContext userContext = 
                injector.getInstance(QuickConnectUserContext.class);
        
        userContext.init(authenticatedUser.getIdentifier());
        
        return userContext;
        
    }
Injector which will manage the object graph of this authentication
provider.
extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/QuickConnectAuthenticationProvider.java