@Override
    public Directory<User> getUserDirectory() throws GuacamoleException {
        return userDirectory;
    }
Initializes this UserContext using the provided AuthenticatedUser.

@param user
    The AuthenticatedUser representing the user that authenticated. This
    user will always have been authenticated via LDAP, as LDAP data is
    not provided to non-LDAP users.

@throws GuacamoleException
    If associated data stored within the LDAP directory cannot be
    queried due to an error.
extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/LDAPUserContext.java