cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Cocoon 2.1 Authentication Bug? *Please* Help
Date Mon, 01 Sep 2003 11:55:31 GMT
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"/>	

This pipeline should return a file with the same structure as the file sunrise-loaduser.xml
with all the users inside. Right??

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...)??


-----Message d'origine-----
De: Carsten Ziegeler []
Date: vendredi, 29. août 2003 14:17
Objet: RE: Cocoon 2.1 Authentication Bug? *Please* Help

> -----Original Message-----
> From: []
> Sent: Thursday, August 28, 2003 9:54 AM
> To:
> Subject: RE: Cocoon 2.1 Authentication Bug? *Please* Help
> Hello Carsten,
> The authentication works very well and I can enter inside the portal.
> But inside the portal there are two "functions": User Management 
> and Portal Management. These "functions" use the portal-auth 
> action and the portal-conf and auth-conf generators.
> The problem is that I can't access to these "functions", the 
> error is "Cocoon couldn't find the resource requested".
> Before I changed the authentication pipeline and integrated a 
> LDAP transformer these "functions" worked very well.
> How works the portal-auth action? Do the generators read a file 
> (sunrise-user.xml) or another session parameters?
The tools use a configuration that is part of the handler configuration
in the sitemap:
                <configuration name="single-role-user-management">
                  <load-users uri="cocoon:raw:/sunrise-loaduser"/>
                  <load-roles uri="cocoon:raw:/sunrise-roles"/>
                  <new-user uri="cocoon:raw:/sunrise-newuser"/>
                  <new-role uri="cocoon:raw:/sunrise-newrole"/>
                  <change-user uri="cocoon:raw:/sunrise-changeuser"/>
                  <delete-role uri="cocoon:raw:/sunrise-delrole"/>
                  <delete-user uri="cocoon:raw:/sunrise-deluser"/>

you have to adjust these pipelines as well to use ldap.


View raw message