Hello.
I'm developing a macro plugin that needs access to data of an existing plugin provided via its REST API (not using Java API because its classes are private to a point where I would have to rewrite all of its services, which I'm aiming to avoid). Both would run on the same instance of Confluence, version 5.9 upwards.
The problem is, the existing plugin is asking for authentication from my REST client.
Some leads I've tried to achieve this (in order of appearance) include:
It's beginning to look a lot like I will have to use Basic Authentication (hope not!).
Is there any way to grab the current user credentials from the Confluence context and pass them on to another plugin running on the same instance?
Anyway, thank you for reading. Any help would be much appreciated.
Community moderators have prevented the ability to post new answers.
In case anyone has the same problem, I've posted and eventually answered this on SO:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.