portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomba Rakesh <tomba_rak...@yahoo.com>
Subject How to get UserManager instance.
Date Fri, 01 Jul 2005 09:39:35 GMT
Hi All
Is there any way to get UserManager instance outside the portlet code (jsp or servlet).
Enclosed below is the protlet code,  to get an instance of UserManager. 
import org.apache.jetspeed.security.UserManager;
UserManager userManager = (UserManager)getPortletContext().getAttribute("cps:UserManager");

Thanks in advance...

Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message