code: @Path("connections")
      public DirectoryResource<Connection, APIConnection> getConnectionDirectoryResource()
              throws GuacamoleException {
          return connectionDirectoryResourceFactory.create(userContext,
                  userContext.getConnectionDirectory());
      }
docs: 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.