You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2003/10/31 16:22:02 UTC

Changes to Access Control Configuration

Hi Lenya users,

I made some changes to the access control classes.
Now a different configuration in ac.xconf is required.
The default publication is updated, but the other
publications aren't yet.

Here's a sample ac.xconf:

<?xml version="1.0"?>

<access-controller type="bypassable">

   <accreditable-manager type="file">
     <parameter name="directory"
      value="context:///lenya/pubs/default/config/ac/passwd"/>
   </accreditable-manager>

   <policy-manager type="document">
     <policy-manager type="file">
       <parameter name="directory"
        value="context:///lenya/pubs/default/config/ac/policies"/>
     </policy-manager>
   </policy-manager>

   <authorizer type="policy"/>

   <authorizer type="usecase">
     <parameter name="configuration"
   value="context:///lenya/pubs/default/config/ac/usecase-policies.xml"/>
   </authorizer>

   <authorizer type="workflow"/>

</access-controller>

If you want to use the sitemap policy manager, you don't need
the document policy manager. You can just write:

   <policy-manager type="sitemap"/>

I will add the corresponding documentation soon.

-- Andreas



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


Re: Changes to Access Control Configuration

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:

> Andreas Hartmann wrote:
> 
>> Hi Lenya users,
>>
>> I made some changes to the access control classes.
>> Now a different configuration in ac.xconf is required.
>> The default publication is updated, but the other
>> publications aren't yet.
> 
> 
> I have updated the blog and oscom publications.

Thanks, I've updated docs-new.

-- Andreas



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


Re: Changes to Access Control Configuration

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
> Hi Lenya users,
> 
> I made some changes to the access control classes.
> Now a different configuration in ac.xconf is required.
> The default publication is updated, but the other
> publications aren't yet.

I have updated the blog and oscom publications.

Michi


> 
> Here's a sample ac.xconf:
> 
> <?xml version="1.0"?>
> 
> <access-controller type="bypassable">
> 
>   <accreditable-manager type="file">
>     <parameter name="directory"
>      value="context:///lenya/pubs/default/config/ac/passwd"/>
>   </accreditable-manager>
> 
>   <policy-manager type="document">
>     <policy-manager type="file">
>       <parameter name="directory"
>        value="context:///lenya/pubs/default/config/ac/policies"/>
>     </policy-manager>
>   </policy-manager>
> 
>   <authorizer type="policy"/>
> 
>   <authorizer type="usecase">
>     <parameter name="configuration"
>   value="context:///lenya/pubs/default/config/ac/usecase-policies.xml"/>
>   </authorizer>
> 
>   <authorizer type="workflow"/>
> 
> </access-controller>
> 
> If you want to use the sitemap policy manager, you don't need
> the document policy manager. You can just write:
> 
>   <policy-manager type="sitemap"/>
> 
> I will add the corresponding documentation soon.
> 
> -- Andreas
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


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