Re: @Secured from tapestry-acegi

2006-11-29 Thread Cyrille37
Thanks a lot James. I did not know about hivemind-acegi-dao.jar. I'll try your tips soon. regards, cyrille James Carman a écrit : If you want to use a DAO-based (where you get auth information from a db or something) authentication manager, you can drop in the hivemind-acegi-dao.jar file into

Re: @Secured from tapestry-acegi

2006-11-29 Thread James Carman
If you want to use a DAO-based (where you get auth information from a db or something) authentication manager, you can drop in the hivemind-acegi-dao.jar file into your classpath. Then, you have to provide an implementation for the hivemind.acegi.dao.UserDetailsService service point:

Re: @Secured from tapestry-acegi

2006-11-29 Thread Cyrille37
James Carman a écrit : Ahh yes. You do need to tell Acegi how you want to authenticate, so you need to have an implementation defined for the AuthenticationManager service point I define. Hello James, Could you please give me a little example, or write a little howto somewhere (tapestry's wik

Re: @Secured from tapestry-acegi

2006-11-28 Thread James Carman
Ahh yes. You do need to tell Acegi how you want to authenticate, so you need to have an implementation defined for the AuthenticationManager service point I define. On 11/28/06, Cyrille37 <[EMAIL PROTECTED]> wrote: James Carman a écrit : > You don't need spring at all. You would use your own

Re: @Secured from tapestry-acegi

2006-11-28 Thread Cyrille37
James Carman a écrit : You don't need spring at all. You would use your own hivemodule.xml. I believe you can just drop in the jar and the BASIC HTTP authentication will work. There are customization points you can use (like the name of your "realm" and stuff), but it should work "out of the bo

Re: @Secured from tapestry-acegi

2006-11-28 Thread James Carman
You don't need spring at all. You would use your own hivemodule.xml. I believe you can just drop in the jar and the BASIC HTTP authentication will work. There are customization points you can use (like the name of your "realm" and stuff), but it should work "out of the box." On 11/28/06, Cyril

Re: @Secured from tapestry-acegi

2006-11-28 Thread Cyrille37
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 application

Re: @Secured from tapestry-acegi

2006-11-28 Thread James Carman
The @Secured annotation is from the Acegi library (you have to get the "tiger" jar). 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 re

@Secured from tapestry-acegi

2006-11-28 Thread Cyrille37
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.*; @Sec