IPerson person = staticData.getPerson();
if (person.getSecurityContext().isAuthenticated()) {
// for each attribute the Portlet requested
for (Iterator iter = userAttributes.iterator(); iter.hasNext(); ) {
UserAttributeImpl userAttribute = (UserAttributeImpl)iter.next();
String attName = userAttribute.getName();
String attValue = (String)person.getAttribute(attName);
if ((attValue == null || attValue.equals("")) && attName.equals(PASSWORD_ATTR)) {
attValue = getPassword(person.getSecurityContext());
}
userInfo.put(attName, attValue);