Hi,
I'm trying to replicate a plugin we have installed in our Confluence instance. The plugin works correctly but I need to create a new plugin for a similar purpose.
I have the plugin source code but cannot compile/build from it as I cannot find the library for the AuthenticatedUserThreadLocal class. The code looks like this:
// get the currently logged in user
User user = AuthenticatedUserThreadLocal.getUser();
String username = user.getName()
Any ideas which jar file (and where I can get it) I need?
(Surely it must be present on our Confluence server in order for the plugin to run?)
Nevermind, I found a copy in a local repository store in the jar confluence-5.1.5.jar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.