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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...