Hi James Liao Thanks for the quick response. Hope this will work... But still I have problem how to get an instance of UserManager. At present I am using default Hypersonic Database. Regards Rakesh
Liao jian <[EMAIL PROTECTED]> wrote: Hi, Use UserManager instance to get a user instance like this: User user = userMgr.getUser(userPrincipal.getName()); - James Liao On 6/14/05, Tomba Rakesh wrote: > > Hi Friends > > Enclosed a useful link for Jetspeed2. > > http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/index.html > > In "Role Based Access Control" paragraph of this page, I found > user.getSubject().getPrincipals(). How to get an instance of this user? > > jakarta-tomcat-5.5.9 comes with a jar file "jetspeed-api-2.0-M3.jar". I > could found the User interface as org.apache.jetspeed.security.User. > > Regards > Rakesh > > > --------------------------------- > Discover Yahoo! > Stay in touch with email, IM, photo sharing & more. Check it out! > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
