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:37:42 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...

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message