@Path("connections")
    public DirectoryResource<Connection, APIConnection> getConnectionDirectoryResource()
            throws GuacamoleException {
        return connectionDirectoryResourceFactory.create(authenticatedUser,
                userContext, userContext.getConnectionDirectory());
    }
Returns a new resource which represents the Connection Directory
contained within the UserContext exposed by this UserContextResource.

@return
    A new resource which represents the Connection Directory contained
    within the UserContext exposed by this UserContextResource.

@throws GuacamoleException
    If an error occurs while retrieving the Connection Directory.
guacamole/src/main/java/org/apache/guacamole/rest/session/UserContextResource.java