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

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to