Issue Type: Feature Request Feature Request
Affects Versions: PLINK_2.5.0.Beta5
Assignee: Anil Saldhana
Components: IDM
Created: 24/Jul/13 8:06 AM
Description:

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);
}
Project: PicketLink
Priority: Major Major
Reporter: George Gastaldi
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira