If the portlets and servlets are part of the same web application context, dont you think request.getUserPrincipal() inside the servlet should result in the Principal of the user logged in to the Portal. null if anonymous.
Then the userid can be encoded as a url parameter on AJAX requests, or AJAX processor on the server side can extract user id via request.getUserPrincipal call. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989154#3989154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989154 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
