Hi Guys,

need help for easly manage Access Control Lists.

I would have more than one protected area, under which dozen of pages have
to be protected by means of session-validator action.

Is it possible to declare in sitemap.xmap (one level up to each protected
areas) something like that (not exactly the same of course ) ?


<map:match pattern="protected/*">
  <map:act type="session-validator">
    <map:parameter name="descriptor" value="params.xml"/>
    <map:parameter name="validate" value="username"/>
      <map:mount uri-prefix="protected" src="protected/" check-reload="yes"/>
  </map:act>
  <map:redirect-to uri="AuthorizationFailure.html"/>
</map:match>

The purpose is to protect an entire subproject, without mention
session-validation for each of its pages.

Thank you in advance for your answer

Regards

Pino



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to