42 List<String> attrValue = attr.getValue();
43 if (attrValue != null && attrValue.size() > 0) {
44 attributes.put(attr.getKey(), attrValue.get(0));
47 if (attrValue != null && attrValue.size() > 1) {
48 logger.warnf(
"There are more values for attribute '%s' of user '%s' . Will display just first value", attr.getKey(),
user.
getUsername());
final Map< String, String > attributes
Definition: ProfileBean.java:35
Map< String, List< String > > getAttributes()
UserModel user
Definition: ProfileBean.java:34
static final Logger logger
Definition: ProfileBean.java:32