For Spring Boot, put this into a configuration class (a class annotated with ‘@Configuration’):
@Bean
public ProcessEnginePlugin administratorAuthorizationPlugin() {
AdministratorAuthorizationPlugin administratorAuthorizationPlugin = new AdministratorAuthorizationPlugin();
administratorAuthorizationPlugin.setAdministratorUserName("yourAdminUsername");
administratorAuthorizationPlugin.setAdministratorGroupName("yourAdminGroupName");
return administratorAuthorizationPlugin;
}
After starting the application, check the contents of your ACT_RU_AUTHORIZATION table, it will create there some entries!