Hi James,

I've managed to get Acegi up and running with our own custom filter but when I 
put the Tapestry Acegi jar into my build I get errors about various beans not 
being present. Is there any documentation on what Spring beans TA depends on?

Also, looking at the hivemodule, most of the configuration is in Hivemind with 
some dependencies on other Acegi objects being created somewhere else, i.e. in 
Spring. While we make extensive use of both, we have Hivemind sitting on top of 
Spring. In otherwords, while Hivemind can retrieve Spring beans, Spring cannot 
gain access to Hivemind services. This is to stop any circular depencecies 
being created. Could this cause a problem for TA?

I guess I'm kind of working in the cark at the moment, but the concept of TA 
looks very, very promising!

Rob Cole



                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
             "James Carman" <[EMAIL PROTECTED]>                                 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
             31/08/2006 18:11                                                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                           To 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
        "'Tapestry users'" <users@tapestry.apache.org>                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                           cc 
                                                                                
                                                                                
                                     Please respond to                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                        "Tapestry users" <users@tapestry.apache.org>            
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                      Subject 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
        RE: Tapestry Acegi                                                      
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              




Oh, as for the @Secured annotation not being present, you have to add the
acegi-security-tiger.jar file (tiger = JDK5) to your classpath.
Tapestry-Acegi uses the built-in @Secured annotation available from Acegi to
secure page classes and listener methods.

For the build to work, you will have to install some of the "sun jars" (it's
a pain in the rear, I know) and you can refer to the maven documentation
here:

http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

There is a bit (a very bit, sorry :-) of documentation available at:

http://www.carmanconsulting.com/tapestry-acegi

Again, I am going to have some time off next week and the next and I plan on
updating all of this stuff.

-----Original Message-----
From: Robert Cole [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 12:53 PM
To: users@tapestry.apache.org
Subject: Tapestry Acegi


Has anyone used the Tapestry-Acegi project? I'm about to implement some role
based security on our project and we're looking at this as its linked on the
Tapestry home page. Unfortunately there's no doc and the builds don't appear
to work as when I tried one (the latest one from June some time) it looks
like there's some hivemind configuration missing. Plus the annotation file
that's supposed to do all of the work for me is missing from the build!

Its not going to be that hard to implement our own Acegi based security but
it would be nice if the Tapestry one could do 90% of the work for us.

Thanks,

Rob Cole

---

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.


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



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




---

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.


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

Reply via email to