Package org.apache.pluto.descriptors.portlet

Examples of org.apache.pluto.descriptors.portlet.UserAttributeDD


            final PortletRegistryService portletRegistryService = optionalContainerServices.getPortletRegistryService();
            final PortletAppDD dd = portletRegistryService.getPortletApplicationDescriptor(portletWindow.getContextPath());

            final List mappedUserAttributes = dd.getUserAttributes();
            for (final Iterator mappedAttrItr = mappedUserAttributes.iterator(); mappedAttrItr.hasNext(); ) {
                final UserAttributeDD userAttrDD = (UserAttributeDD) mappedAttrItr.next();
                final String mappedName = userAttrDD.getName();
                final Object value = allMap.get(mappedName);
                if (value != null) {
                    userInfoMap.put(mappedName, value);
                }
            }
View Full Code Here


              // See: org.apache.pluto.core.DefaultUserInfoService
              .getUserInfoService().getUserInfo( this, this.internalPortletWindow );

            Iterator i = dd.getUserAttributes().iterator();
            while(i.hasNext()) {
                UserAttributeDD udd = (UserAttributeDD)i.next();
                userInfoMap.put(udd.getName(), allMap.get(udd.getName()));
            }
        } catch (PortletContainerException e) {
            LOG.warn("Unable to retrieve user attribute map for user " + getRemoteUser() + ".  Returning null.");
            return null;
        }
View Full Code Here

              // See: org.apache.pluto.core.DefaultUserInfoService
              .getUserInfoService().getUserInfo( this, this.internalPortletWindow );

            Iterator i = dd.getUserAttributes().iterator();
            while(i.hasNext()) {
                UserAttributeDD udd = (UserAttributeDD)i.next();
                userInfoMap.put(udd.getName(), allMap.get(udd.getName()));
            }
        } catch (PortletContainerException e) {
            LOG.warn("Unable to retrieve user attribute map for user " + getRemoteUser() + ".  Returning null.");
            return null;
        }
View Full Code Here

            Map allMap = container.getOptionalContainerServices()
                .getUserInfoService().getUserInfo(this);

            Iterator i = dd.getUserAttributes().iterator();
            while(i.hasNext()) {
                UserAttributeDD udd = (UserAttributeDD)i.next();
                userInfoMap.put(udd.getName(), allMap.get(udd.getName()));
            }
        } catch (PortletContainerException e) {
            LOG.warn("Unable to retrieve user attribute map for user " + getRemoteUser() + ".  Returning null.");
            return null;
        }
View Full Code Here

            Map allMap = container.getOptionalContainerServices()
                .getUserInfoService().getUserInfo(this);

            Iterator i = dd.getUserAttributes().iterator();
            while(i.hasNext()) {
                UserAttributeDD udd = (UserAttributeDD)i.next();
                userInfoMap.put(udd.getName(), allMap.get(udd.getName()));
            }
        } catch (PortletContainerException e) {
            LOG.warn("Unable to retrieve user attribute map for user " + getRemoteUser() + ".  Returning null.");
            return null;
        }
View Full Code Here

TOP

Related Classes of org.apache.pluto.descriptors.portlet.UserAttributeDD

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.