Hi,

could you maybe give us a more detailed example of your acegi-configuration (applicationContext.xml, etc..). I tried it before, but couldn't get it running with cocoon.

Thanks
Jonny


Aleksander Bandelj wrote:

Yes, we use Acegi and cocoon. Actually, I wonder why anyone would see this as a problem - acegi http security is just a sequence of servlet filters and cocoon is a servlet ... is there a way for that not to work together ? :)

You just put Acegi stuff in web.xml and spring configuration and you are rockin'.

As for real cocoon-acegi integration, we have written simple selector, so we can write:

<map:select type="user-role">
        <map:when test="admin">
        <map:redirect-to uri="http://www.apache.org"/>
        </map:when>
        <map:when test="user">
         <map:redirect-to uri="http://www.google.com"/>
     </map:when>
</map:select>

And we use it from flowscript by calling Acegi API directly. Simple, isn't it ? :)


Wojciech Biela wrote:

Hi there,
I was just wondering, is it possible to plug Acegi Security
(acegisecurity.sourceforge.net) into the Cocoon&Spring bundle? Or will
all those filters and Acegi specific config stuff mess up Cocoon for
good?

Has anyone wondered about it?
Anyone tried it?
Anyone succeeded? ;)
because the framework looks quite nice
-- Wojtek Biela



---------------------------------------------------------------------
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]

Reply via email to