cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Sylvain.The...@swisscom.com>
Subject RE: Cocoon 2.1 Authentication Bug? *Please* Help
Date Mon, 01 Sep 2003 12:40:07 GMT
OK, I understand the mechanism.

About the roles, since I used LDAP for the authentication I have a problem how to define the
roles.
By default the authentication uses the file sunrise-user.xml and the role is defined for each
user inside this file.
With LDAP authentication I retrieve the users from a LDAP repository and the role isn't defined
in this repository. 
Have you an idea how I could define the role for each users?

Thanks for your help.
Regards
Sylvain


-----Message d'origine-----
De: Carsten Ziegeler [mailto:cziegeler@s-und-n.de]
Date: lundi, 1. septembre 2003 14:22
À: dev@cocoon.apache.org
Objet: RE: Cocoon 2.1 Authentication Bug? *Please* Help


> From: Sylvain.Thevoz@swisscom.com [mailto:Sylvain.Thevoz@swisscom.com]
> 
> Hello Carsten,
> 
> OK, you means that for the load-users function you have to write 
> a pipeline like (by default all the users are in the file 
> sunrise-user.xml):
> 
> <map:match pattern="sunrise-loaduser">
> 	<map:generate src="load-user-ldap.xml"/>	
> 	<map:transform type="ldap">   
> 	<map:serialize type="xml"/>	
> </map:match>
> 
> This pipeline should return a file with the same structure as the 
> file sunrise-loaduser.xml with all the users inside. Right??
> 
Yes.

> Before that I need to enter in the "User management" page where 
> there are all the links for the functions (add user, etc...). Do 
> you mean that this page uses one (or many) of this functions 
> (load-users, load-roles, etc...)??
> 
It uses first all load- functions. When you execute a function, like
add or delete, then these pipelines are called as well.

Carsten


Mime
View raw message