-
Enhancement
-
Resolution: Done
-
Major
-
PLINK_2.5.0.Beta5
-
None
In JSF pages, normally it's desirable to display a user attribute from the logged user, like:
<h:graphicImage value="#{identity.agent.attributes['image']}" width="40" height="40" />
However, the code above does not work, given that org.picketlink.idm.model.AbstractAttributedType doesn't expose the attributes as a java.util.Map, therefore making it impossible to use it in JSF.
The following method could be added in this same class to allow that:
public Map<String, Attribute<? extends Serializable>> getAttributeMap() { return Collections.unmodifiableMap(attributes); }