When i look at the JForum source there exists no setRequest or setResponse method for the JForumExecutionContext class. At least in my version, 2.1.7.
But in addition to this is another issue. For our app we are using SSO so that we need only log in once at our apps authentication module and then users are passed directly into JForum (This is working great btw). From what i understand about what you've outlined, the user would have to be an administrator to be able to execute the commands you've given, since they include adding the Forum, but we do not wish to give the users admin priviliges. This is why i have been gathering the forum data in our app and then accessing the Jforum database directly to insert all of the appropriate info/permissions/etc.
So to try and clarify, this is our goal:
- User logs in to our app, which creates appropriate SSO cookie for JForum use (keeping in mind we do not want users to be admins)(works well)
- User goes to OUR forum creation page, which in the backend is adding all the data directly to the jforum database (works well)
- the missing piece is just adding the forum to the cache or forcing a cache refresh (or even just plain disable all caching)
is this possible? have i misunderstood your post in some way? Much thanks again for taking the time to help out.