ICacheManager cacheManager = (ICacheManager) ApsWebApplicationUtils.getBean(SystemConstants.CACHE_MANAGER, this.getRequest());
PublicContentAuthorizationInfo authInfo = new PublicContentAuthorizationInfo(content);
cacheManager.putInCache(JacmsSystemConstants.CONTENT_AUTH_INFO_CACHE_PREFIX + contentId, authInfo);
this.setUserOnSession("admin");
Widget showlet = new Widget();
IWidgetTypeManager showletTypeMan =
(IWidgetTypeManager) this.getService(SystemConstants.WIDGET_TYPE_MANAGER);
WidgetType WidgetType = showletTypeMan.getWidgetType("content_feedback_viewer");
showlet.setType(WidgetType);
ApsProperties prop = new ApsProperties();
prop.put("contentId", contentId);
prop.put(ContentFeedbackWidgetAction.WIDGET_PARAM_COMMENT_ACTIVE, "true");
prop.put(ContentFeedbackWidgetAction.WIDGET_PARAM_COMMENT_MODERATED, "false");