cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Becker <jonnybec...@gmx.net>
Subject Re: Acegi Security
Date Thu, 16 Jun 2005 13:45:17 GMT
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message