List of Sun Java System Portal Server 7 attribute list
Hi,
I tried to fetch the user information of the logged in user following the directions given in the JSR 168 specs. I tried fetching the last name of the user using the "user.name.family " user info attribute. But, I got a null.
After some Googling and repeated reading of the JSR 168 specs I concluded that the names listed in the spec are just indicative and the actual name that maps to a specific user information may change from server to server. Please tell me whether this assumption is correct?
If I am correct, then where can I find the list of user attribute names that the Sun Java System Portal Server 7 supports.
Below is my portlet.xml configuration snippet and the portlet code:
portet.xml
--
<user-attribute>
<description>User Last Name</description>
<name>user.name.family</name>
</user-attribute>
portlet code
--
Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
String lastName = (userInfo!=null)? (String) userInfo.get搖ser.name.family? : 搉ot present?
Thanks in advance
Avishek

