3 Replies Latest reply on Mar 13, 2009 12:26 PM by Wesley Hales

    JBoss Portal 2.7.0 and JBossRenderRequest

    Muhammad Yahia Newbie

      Hi all,

      I am trying to run a richfaces portlet on the portlet bridge 1.0.0.B4 and JBoss Portal 2.7.0. I am trying to get the authenticated user information, I cannot do that directly through the portlet request because of https://jira.jboss.org/jira/browse/JBPORTAL-2254 , I read further on the forum here and people were saying I can get that through casting the request to a JBossRenderRequest, I tried doing that but the request I am getting back is
      of type org.jboss.portal.portlet.impl.jsr168.api.RenderRequestImpl. I have the required portlet filter in place for exposing JBossRenderRequest and I dont have any jboss jars in my war file (except the bridge):

      <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/
       id="myPortletApp" version="2.0">
       <filter-name>JBoss Portlet Filter</filter-name>
       <filter-name>JBoss Portlet Filter</filter-name>

      Does the above type means my filter is being ignored? My portlet also, being a bridge-based portlet doesn't extend JBossPortlet, does that mean the request wrapper will not be available? If so is there any other way I can get the user information?