I do not seem to have access to the current user's properties from my portlets. When I run the following code in my doDispatch the only property I get is 'user.name.nickName' (with a null value).
Map ua = (Map) request.getAttribute( RenderRequest.USER_INFO ); | if( ua != null ) { | System.out.println( "user has been authenticated: "+request.getRemoteUser() ); | Iterator it = ua.keySet().iterator(); | while( it.hasNext() ) { | String attr = (String) it.next(); | System.out.println( "User attribute: "+attr+"="+(String)ua.get( attr ) ); | } | } I notice from the UserPortlet.showProfile that it gets passed a JBossActionRequest object that provides a getUser() method that provides access to the user's properties. From the doDispatch of a portable portlet, how can I access the those properties? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863845#3863845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863845 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development