Artur Hefczyc opened 9 years ago
|
|
%kobit As for:
|
|
Yes, even a list of JIDs allowed to use presence probe. It might be useful when using components. |
|
I added this feature to support presence probe from users which jids are listed in VHostItem in Trusted JIDs section of vhost configuration for domain of recipient of presence probe. In Trusted JIDs can be listed:
|
|
It looks like the property is not correctly applied from init.properties configuration (v. https://projects.tigase.org/boards/15/topics/5275?r=5329). %kobit a question regarding the functionality -- should items from |
|
I think the |
|
I added test to confirm that I not added support for |
|
Andrzej Wójcik wrote:
I was thinking about something similar to [--vhost-tls-required](http://docs.tigase.org/tigase-server/snapshot/Properties_Guide/html_chunk/vhostTlsRequired.html) |
|
With on/off setting it is easy as this setting is used if setting is not set for VHostItem, should this work in same way? So global setting would be only used if vhost setting would be not set at all? Or maybe I should always add list of jids from global settings to list of jids from VHostItem? Or maybe I should add list of jids from global settings only when vhost item is created? For now I will implement it in way you described it - I will use list of global jids only if list of trusted jids from VHostItem is empty. Please check this is ok. |
|
Andrzej Wójcik wrote:
I think that this approach is best. |
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3135
|
Version |
tigase-server-7.1.0
|
Spent time |
43h 30m
|
There is a "small print" optional processing for the presence probe:
bq. However, if a server receives a presence probe from a configured domain of the server itself or another such trusted service, it MAY provide presence information about the user to that entity.
I think the best approach to this would be to make it configurable on the domain level, with a field to provide a list of such trusted entities to which presence information is provided.
This task is on request from the forums: message#5036