You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Aurélien DEHAY <ad...@zorel.org> on 2005/02/09 21:17:43 UTC

Simple question about auth-fw

Hello.

Is is possible to auth-protect a pipeline with a specified role like this:

<map:act type="auth-protect">
   <map:parameter name="role" value="admin"/>

So the pipeline would be accessible only for users with the specified role.

Is it possible?

Rgds.
--
Aurélien DEHAY

Re: Simple question about auth-fw

Posted by Aurélien DEHAY <ad...@zorel.org>.
Antonio Gallardo wrote:
> On Mie, 9 de Febrero de 2005, 14:17, Aurélien DEHAY dijo:
>
>>Hello.
>>
>>Is is possible to auth-protect a pipeline with a specified role like this:
>>
>><map:act type="auth-protect">
>>   <map:parameter name="role" value="admin"/>
>>
>>So the pipeline would be accessible only for users with the specified
>>role.
>>
>>Is it possible?
>
>
> Two years ago I did some works related to this problem. Perhpas will be
> good yo you to see the mails and some ideas will bring to you. Also there
> was a simple solution for a similar problem.
>
> See:
>
> http://marc.theaimsgroup.com/?t=105314788200001&r=1&w=2
> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104025801208933&w=2
>
> And the code:
>
> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105328971325422&w=2
>
> Hope this help.

Surely, many thanks. Funny thing, I'm writing a similar thing (an xsp
action). I've got friends who are good Java devs, who will soon receive
a mail asking them to look at a sort-of auth-role action. I wish I could
write this thing myself, but I can't even write a «Hello World» Java
program.

>
> Best Regards,
>
> Antonio Gallardo
>


Rgds.

--
Aurélien DEHAY

Re: Simple question about auth-fw

Posted by Antonio Gallardo <ag...@agssa.net>.
On Mie, 9 de Febrero de 2005, 14:17, Aurélien DEHAY dijo:
> Hello.
>
> Is is possible to auth-protect a pipeline with a specified role like this:
>
> <map:act type="auth-protect">
>    <map:parameter name="role" value="admin"/>
>
> So the pipeline would be accessible only for users with the specified
> role.
>
> Is it possible?

Two years ago I did some works related to this problem. Perhpas will be
good yo you to see the mails and some ideas will bring to you. Also there
was a simple solution for a similar problem.

See:

http://marc.theaimsgroup.com/?t=105314788200001&r=1&w=2
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104025801208933&w=2

And the code:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105328971325422&w=2

Hope this help.

Best Regards,

Antonio Gallardo

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


Re: Simple question about auth-fw

Posted by Aurélien DEHAY <ad...@zorel.org>.
Ralph Goers wrote:
> Aurélien DEHAY wrote:
>
>> Antonio Gallardo wrote:
>>
[snip]
>>>> Is it possible?
>>>
>>>
>>>
>>>
>>> No.
>>
>>
>>
>> Too bad
>>
> Feel free to submit a patch

I wish I could

--
Aurélien DEHAY

Re: Simple question about auth-fw

Posted by Ralph Goers <Ra...@dslextreme.com>.
Aurélien DEHAY wrote:

> Antonio Gallardo wrote:
>
>> On Mie, 9 de Febrero de 2005, 14:17, Aurélien DEHAY dijo:
>>
>>> Hello.
>>>
>>> Is is possible to auth-protect a pipeline with a specified role like 
>>> this:
>>>
>>> <map:act type="auth-protect">
>>>   <map:parameter name="role" value="admin"/>
>>>
>>> So the pipeline would be accessible only for users with the specified
>>> role.
>>>
>>> Is it possible?
>>
>>
>>
>> No.
>
>
> Too bad
>
Feel free to submit a patch

Ralph


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


Re: Simple question about auth-fw

Posted by Aurélien DEHAY <ad...@zorel.org>.
Antonio Gallardo wrote:
> On Mie, 9 de Febrero de 2005, 14:17, Aurélien DEHAY dijo:
>
>>Hello.
>>
>>Is is possible to auth-protect a pipeline with a specified role like this:
>>
>><map:act type="auth-protect">
>>   <map:parameter name="role" value="admin"/>
>>
>>So the pipeline would be accessible only for users with the specified
>>role.
>>
>>Is it possible?
>
>
> No.

Too bad

Rgds.

--
Aurélien DEHAY

Re: Simple question about auth-fw

Posted by Antonio Gallardo <ag...@agssa.net>.
On Mie, 9 de Febrero de 2005, 14:17, Aurélien DEHAY dijo:
> Hello.
>
> Is is possible to auth-protect a pipeline with a specified role like this:
>
> <map:act type="auth-protect">
>    <map:parameter name="role" value="admin"/>
>
> So the pipeline would be accessible only for users with the specified
> role.
>
> Is it possible?

No.

Best Regards,

Antonio Gallardo


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