~~NOTRANS~~ ~~Title: Portlet Integration~~ If you want to use Vaadin UI with Liferay Portlets, use the following security manager in your config.xml: com.sibvisions.apps.vaadin.portlet.server.security.PortletSecurityManager ... and the following code in your session life cycle object: public IWorkScreenAccess getWorkScreenAccess() { PortletWorkScreenAccess wosc = (PortletWorkScreenAccess)get("workScreenAccess"); if (wosc == null) { wosc = new PortletWorkScreenAccess(); put("workScreenAccess", wosc); } return wosc; } The PortletSecurityManager uses current Liferay user and PortletWorkScreenAccess uses configured user roles. The security manager sets the configured portlet screen as default screen. This screen will be shown in Liferay. To configure the default screen, add an additional parameter to your portlet.xml: screen com.sibvisions.apps.vaadin.portlet.screens.ContactsWorkScreen An example portlet.xml with complete configuration: VaadinApps VaadinApps com.sibvisions.rad.ui.vaadin.server.VaadinPortlet Vaadin UI class to use UI com.sibvisions.rad.ui.vaadin.impl.VaadinUI Application widgetset widgetset com.sibvisions.rad.ui.vaadin.ext.ui.Widgetset main com.sibvisions.apps.projx.ProjX config /com/sibvisions/apps/vaadin/portlet/application.xml Application.setup.classname com.sibvisions.apps.vaadin.portlet.PortletApplicationSetup screen com.sibvisions.apps.vaadin.portlet.screens.ContactsWorkScreen vaadin.resources.portletContainerMode true 0 text/html VaadinApps VaadinApps VaadinApps administrator guest power-user user