-
%wojtek This may be the very tricky thing to do. List of trusted jids is set by the kernel using injection and further manipulation of those entries is not a good idea. Moreover, it may happen that user wants to have HTTP API and do not want to allow pubsub modifications due to security reasons but may want to have other features. If we do as you suggest it will be an impossible thing to achieve.
I wonder if we could make it easier without making a hole in the security (making HTTP API a trusted jid at PubSub is relaxing our security).
-
Andrzej, my suggestion was to add this option (by default) to the configuration file generated by web-setup - not to populate the variable or make it active by default (hence inclusion in the http-api/setup section). To make installation more secure one would simply remove this configuration line disabling pubsub http-api. However:
- this could be optional (enable pubsub REST)
- from my observation - if someone wants XMPP with PubSub most of the time they want to interact with it via REST (especially if they enable REST).
%kobit - what do you think?
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
7863
|
Version |
tigase-server-8.0.0rc1
|
If clustering/http is enabled pubsub should automatically be configured to handle rest correctly with: