James Carman a écrit :
The @Secured annotation is from the Acegi library (you have to get the
"tiger" jar).
Thanks a lot. I'm a beginner ...

Are directives in the hivemodule.xml from tapestry-acegi.jar are sufficients, or we need to put some more directives in web.xml or spring 's applicationContext-security.xml ?

Cyrille

On 11/28/06, Cyrille37 <[EMAIL PROTECTED]> wrote:
Hello,

I'm trying to integrate Acegi by using tapestry-acegi from
carmanconsulting.com.

I've imported com.javaforge.tapestry.acegi.enhance.* but Java do not
recognize the @Secured decoration.

    import com.javaforge.tapestry.acegi.*;
    import com.javaforge.tapestry.acegi.enhance.*;
    @Secured("ROLE_USER")
    public abstract class UserForm extends BasePage implements
PageBeginRenderListener
    {
    ...

Have you got an idea ?
Thanks
cyrille



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

Reply via email to