Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M3
-
Component/s: Security, Security > PACL
-
Labels:None
-
Environment:liferay 6.1.1 CE
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
We created portlet used service builder. Then we enable PACL - we got followed error:
19:50:40,395 WARN [http-bio-8080-exec-41][RuntimeChecker:256] Attempted to access declared members
19:50:40,397 WARN [http-bio-8080-exec-41][ReferenceRegistry:42] Not allowed to get field _service for class ru.emdev.timetracking.service.TimeTrackingEntryLocalServiceUtil
TimeTrackingEntryLocalServiceUtil - is our Util singleton generated for local service.
I've tried to add this class into security-manager-get-bean-property= or into services like:
security-manager-services[timetracking-portlet]=\
ru.emdev.timetracking.service.TimeTrackingEntryLocalService
Nothing helped to avoid this problem.
Is security really required to be configured for own services from own portlet?

Hey Alexey,
If I'm not mistaken, this is only a warning albeit probably an unnecessary one that I can hopefully get rid of soon.
Best,
Zsolt