[jboss-user] [JBoss Portal] - Re: how to develop a JBossPortlet?

prabhat.jha@jboss.com do-not-reply at jboss.com
Fri Oct 10 07:25:30 EDT 2008


You can get userModule by modifying your jboss-web.xml to add

      <service-name>UserModule</service-name>
  |       <service-class>org.jboss.portal.identity.UserModule</service-class>
  |       <service-ref>:service=Module,type=User</service-ref>

Then you can get it in  your portlet by calling userModule = (UserModule)getPortletContext().getAttribute("UserModule");

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

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



More information about the jboss-user mailing list