Hello,

I tried to use spring-security in security.xml to set some authorizations on
service methods like that:

   <global-method-security>
>         <protect-pointcut expression="execution(*
> *..service.UserManager.getUsers(..))" access="ROLE_ADMIN"/>
>         <protect-pointcut expression="execution(*
> *..service.UserManager.removeUser(..))" access="ROLE_ADMIN"/>
>         <protect-pointcut expression="execution(*
> *..service.DatasetManager.*(..))" access="ROLE_ADMIN"/>
>     </global-method-security>
>

So the strange thing is that it works with UserManager but not with my
others managers.
And i found finally maybe something: apparently there is a problem with the
tag "protect-point" and the generics. That would explain why it works with
UserManager which extends UniversalManager, and not with my others managers
which extends BasicManager using the generics.

And i have read that it should be working on version 2.0.5 (one person said
he tried it and it worked)

But the problem is that i cannot find to upgrade properly spring-security to
that version or higher.

Is it possible in appfuse?

Thanks.
-- 
Nicolas Castejon

Reply via email to