I was wondering if anyone has gotten Jetspeed to run under JBoss 3.0 with either 
Tomcat 4 or Jetty (the two available distributions with servlet engines built in)?

Thanks,

Alan


-----Original Message-----
From: Mark Orciuch [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 10:11 AM
To: Jetspeed Users List
Subject: RE: how to get the roles of a user in Jetspeed?


James,

Try JetspeedSecurity.hasRole(username, rolename).

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com



> -----Original Message-----
> From: James Wang [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 19, 2002 5:29 AM
> To: [EMAIL PROTECTED]
> Subject: how to get the roles of a user in Jetspeed?
> 
> 
> I want to check the roles of the logined user,
> 
> AccessControlList aclt = rundata.getACL();
> if(aclt.hasRole("news-editor"))
>   ...
> else
>   ...
> 
> but always i cant get the expected result although
> my logined user has been assgined the roles
> 'news-editor',
> 
> please help me.
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to