<portlet-app>
<service-name>UserModule</service-name>
<service-class>org.jboss.portal.identity.UserModule</service-class>
<service-ref>:service-Module,type=User</service-ref>
</portlet-app>
UserModule userModule = (UserModule) getPortletContext().getAttribute("UserModule");
String userId = request.getParameters().getParameter("userid");
User user = userModule.findUserById(userID);
Where does one implement this code in the class that implements or extends genericPorlet. What else needs to be done to correctly and completely implement a "service" which the GenericPortlet class could call.
-tseckend