After a lot of tests I've got it work, even with a service clientin another portlet, not running with security manager enabled. These are the properties
1security-manager-enabled=true
2security-manager-get-bean-property=com.liferay.portal.kernel.configuration.ConfigurationFactoryUtil,\
3com.liferay.portal.kernel.spring.util.SpringFactoryUtil,\
4com.liferay.portal.kernel.util.InfrastructureUtil,\
5com.liferay.portal.kernel.dao.db.DBFactoryUtil,\
6com.liferay.portal.kernel.cache.CacheRegistryUtil,\
7com.liferay.portal.kernel.dao.orm.FinderCacheUtil,\
8com.liferay.portal.kernel.dao.orm.EntityCacheUtil
9security-manager-sql-tables-all=commonstorage_App,commonstorage_Appdata
Then I decided to drop the tables and install from scratch. And then issues began to appear:
- first tables couldn't be created. The reason is
table names are case sensitive for the security mnager.- second, it's impossible to create indexes, because SQLChecker only checks for tables. Indexes doesn't exist, therefore are forbidden, therefore
Marketplace does not support ServiceBuider created services.
I can easily imagine why Social Office and other service based plugins work whithout security manager enabled.
Probably
the plugin to disable the security manager in the control panel would be the solution: install the plugin with the security manager disabled and enable it later. The problem is no "plugin-security-manager-portlet" exists.