Benson: your answer depends a bit on your usage scenario.
If you're using the identity module for your security implementation, you can map user
profile attributes to LDAP attributes or database columns in:
PS_HOME/server/default/deploy/jboss-portal.sar/conf/identity/profile-config.xml
You can then access these directly in your portlet views:
${requestScope['javax.portlet.userinfo']['user.name.given']}
By adding them to your portlet.xml:
<user-attribute>
| <description>User Given Name</description>
| <name>user.name.given</name>
| </user-attribute>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222630#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...