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 <[EMAIL PROTECTED]> 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!
>

Reply via email to