My aim is to bypass resource bind requests and rewrite openfire to set a user’s resource to a value that I specify on the server side. I have had success with all clients except thoes that connect to my openfire via a websocket. I have two specific questions:
It seems that the url used to create a websocket must contain a resource parameter to establish the connection, is there anyway to avoid passing the resource parameter?
After a traversal of both the relavent openfire code and the websocket plugin code I was unable to find a point where I could override the resource bind request that is spawned from the url parameter. Does anyone know of a sutible locatoin for this task or another way by which thiscan be done?
Thanks in advance,