OK, I found it... looked in jboss-service.xml and then the stuff below works if
you wrap in a transaction.
MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
customManager =
(CustomizationManager)MBeanProxy.get(CustomizationManager.class,
new
ObjectName("portal:service=CustomizationManager"), mbeanServer);
userModule = (UserModule)MBeanProxy.get(UserModule.class,
new
ObjectName("portal:service=Module,type=User"), mbeanServer);
User user = userModule.findUserByUserName(request.getRemoteUser());
Portal portal = customManager.getDashboard(user);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102022#4102022
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102022
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user