I have a plugin that implements InitializingBean in order to perform some administrative tasks at startup. But it is throwing the following exception …
User [Anonymous] does not have the required privileges
This is new to me, because every other plugin I have written is able to run as the current user. But apparently, there is no current user at startup.
Any ideas are welcome.