cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 許議中 <>
Subject how to protect a sub directory with authentication-fw
Date Sun, 03 Dec 2006 08:16:34 GMT

The sample od authentication-fw show us how to protect a document with

      <map:match pattern="protected">
        <map:act type="auth-protect">
          <map:parameter name="handler" value="demohandler"/>

          <map:generate src="docs/protected.xml"/>
          <map:transform type="session"/>
          <map:transform src="stylesheets/simple-page2html.xsl"/>
          <map:transform type="encodeURL"/>
        <!-- something was wrong, redirect to login page -->
        <map:redirect-to uri="login"/>

When the protected subject is the whole sub directory, how to?

Best Regards


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message