Package org.jboss.portal.portlet.impl.info

Examples of org.jboss.portal.portlet.impl.info.ContainerUserInfo


         //
         if (infos != null)
         {
            // Get portlet application metadata
            PortletApplicationImpl portletApp = (PortletApplicationImpl)container.getPortletApplication();
            ContainerUserInfo userInfo = portletApp.getInfo().getUser();

            // Clone the map
            infos = new HashMap<String, String>(infos);

            // Keep only what is of interest with respect to what the portlet app defines
            infos.keySet().retainAll(userInfo.getSupportedUserAttributes());

            // Make it immutable
            infos = Collections.unmodifiableMap(infos);
         }
         else
View Full Code Here

TOP

Related Classes of org.jboss.portal.portlet.impl.info.ContainerUserInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.