[jboss-user] [JBoss Portal] - JBoss Portal 2.7.0 and JBossRenderRequest

shipmaster do-not-reply at jboss.com
Wed Dec 10 16:31:28 EST 2008

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/
  |              portlet-app_2_0.xsd"            
  |              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"             
  |              xsi:schemaLocation="http://java.sun.com/xml/ns/portlet
  |              /portlet-app_2_0.xsd
  |              http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
  |     id="myPortletApp" version="2.0">
  | 	<filter>
  |          <filter-name>JBoss Portlet Filter</filter-name>
  |          <filter-class>org.jboss.portlet.filter.JBossPortletFilter</filter-class>
  |          <lifecycle>ACTION_PHASE</lifecycle>
  |          <lifecycle>RENDER_PHASE</lifecycle>
  |    </filter>
  |    <filter-mapping>
  |          <filter-name>JBoss Portlet Filter</filter-name>
  |          <portlet-name>myPortlet</portlet-name>
  |    </filter-mapping>

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? 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195735#4195735

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195735

More information about the jboss-user mailing list