I have to correct my problem: rundata.getACL() does work but the
hasRole("RoleName") and getRoles() do not.
I just found the problem : I have to specify JetspeedSecurity.JETSPEED_GROUP
in the parameters (see Turbine doc)
----- Original Message -----
From: "Stefan Kuhn" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 11:48 AM
Subject: Re: Problem with Role checking


> Hi Josselin,
> I had the same problem and I found out that it's possible to check
> permissions like that:
> new JetspeedDBSecurityService().checkPermission(runData,"yourpermission")
> So if you give the role and only that role a certain permission you can
check
> that instead... I know that this is more a workaround but better than
nothing.
> Stefan
>
> Am Freitag, 17. Mai 2002 11:23 schrieben Sie:
> > I'm using Jetspeed 1.3a2 on Tomcat 3.3.1 and It seems the
rundata.getACL()
> > does not work (return null). How can i check roles ? at runtime ?
>
> --
> 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